At 20:50 97/09/25, Emery Berger wrote:
>I'm not on the list but I'd be interested in Mac binaries for Hugs; what
>was your reply?
OK: First, there is a Hugs-Bugs mail list; for info, see at
<http://haskell.org/>; send an email to <[EMAIL PROTECTED]>
with a single line containing the word
subscribe
Then, I made a no-frills (no Mac GUI features) PPC port for Hugs 1.4
source code 970410 (there has been some source code revisions since then).
The binary should probably have been put up somewhere, compiled for a later
source code version, but it isn't. One reason making updates is not so
exciting right now, is that the Hugs source code tries to guess the right
compiler setting via a make-file set-up, but the compiler I used, Symantec
C++, does not accept makefiles, so the guessing has to be done by hand;
perhaps Metrowerks C++ is better. Other reasons are that the current MacOS
has limitations, like fixed function pointer stack sizes, which is not so
good with a functional language, and really no UNIX compatibility, which
has to amended by writing C-code simulating UNIX system calls. (But the
binary should work for simple programs.) Therefore, it is not too exciting
spending efforts on updates for the current MacOS; but it may change the
next year, with the new Rhapsody OS (see below).
The reply to the Hugs-Bugs list:
Paul Foster wrote:
>Does anyone have Mac binaries for Hugs 1.3 or Hugs 1.4. I have tried to do it
>myself from the sources that come with the Hugs distribution but my C skills
>are not up to it.
>I need binaries that run on a 68k Mac running System 7.1. If anyone can help
>me out I will be more that greatful.
I made a no-frills port of Hugs 1.3 and 1.4 to Mac PPC: When I tried to
do it for 68k, there were all kinds of difficulties, code segmentations,
compiler settings one has to fiddle around with, and things I do not
remember; so I decided it was not worth the trouble trying to figure it
out. In addition, Macs are supposed to switch to a new Mach kernel based
operative system called Rhapsody within a year, which is more advanced than
UNIX, having pre-emptive multitasking on light-weight threads, a good
memory model, and stuff, making it even easier to directly compile source
code such as Hugs, and making it even less interesting trying to make a
68k, old MacOS compile.
It is unclear if Rhapsody will be available on 68k; clearly, the PPC
power will be needed with the new RhapOS. (In fact, it may be runnable on
Microsoft OS computers, see details at
<http://www.macos.apple.com/macos/releases/rhapsody/>.)
So I would advice you to upgrade or replace your 68k to/by a PPC as soon as
possible.
Hans Aberg
* AMS member: Listing <http://www.ams.org/cml/>
* Email: Hans Aberg <[EMAIL PROTECTED]>