[nhc-bugs] Re: Unable to build on MacOSX
Pablo Azero
pablo@memi.umss.edu.bo
Wed, 7 Nov 2001 02:10:26 -0300
Hi,
Endianness of MacOS X if I recall can be computed with:
-DHIGH_BYTE_FIRST
(it's a BIG_ENDIAN)
I had a port of an old version of nhc (1.02) to MacOS X, but I
couldn't (and currently do not have time) to continue working
on it. I have a tarball of that port, if it is useful I can
make it visible for those interested. I have a slow link so
you have to download it at night (bolivian night).
Best,
Pablo
On Tuesday, November 6, 2001, at 07:15 AM, Malcolm Wallace wrote:
>> I tried installing nhc-1.10 from source on a PowerBook G4 Mac OSX 10.1.
>>
>> ../Kernel/newmacros.h:38: "Can't find default endian-ness for this
>> machine."
>
> Here's a patch. Do let us know if you encounter any further problems
> with building nhc98 under MacOS X. We like to support as many
> platforms as possible.
>
>> ... (as this is the only haskell compiler on Mac)
>
> I believe ghc has been ported to MacOS X. Look for instance at
> http://www.haskell.org/ghc/download_ghc_500.html
> (The latest version available seems to be 5.00.2, rather than 5.02.1)
>
> Regards,
> Malcolm