
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 Index: src/runtime/Integer/Makefile =================================================================== RCS file: /usr/src/master/nhc/src/runtime/Integer/Makefile,v retrieving revision 1.4 diff -u -r1.4 Makefile --- src/runtime/Integer/Makefile 1999/11/01 13:48:41 1.4 +++ src/runtime/Integer/Makefile 2001/11/06 10:03:26 @@ -12,7 +12,7 @@ HEADERS = gmp-mparam.h -CFLAGS= -I../Kernel -I${INCDIR} ${DCFG} ${OPT} +CFLAGS= -I../Kernel -I${INCDIR} ${DCFG} ${OPT} ${ENDIAN} LINKS = flt.h