GHC 6.8.1 on Mac OS X 10.5 (Leopard)

Brian P. O'Hanlon brianpo at cmu.edu
Tue Nov 6 16:36:18 EST 2007


On Nov 6, 2007 1:29 AM, Manuel M T Chakravarty <chak at cse.unsw.edu.au> wrote:
> A full binary distribution of GHC 6.8.1 for Mac OS X 10.5 (Leopard) is
> available from
>
>    http://www.cse.unsw.edu.au/~chak/haskell/ghc-6.8.1-i386-apple-darwin.tar.bz2

You do not perchance have one for powerpc, do you?  I attempted to
bootstrap from GHC 6.6.1, but I keep getting errors about "Illegal
Instructions", both using the native gcc 4.0 and my own 4.2 compiler.
The error is like this:

Creating main/Config.hs ...
done.
Creating stage1/ghc_boot_platform.h...
Done.
/usr/bin/gcc-4.0 -E  -undef -traditional -P -I../includes    -x c
prelude/primops.txt.pp | \
	grep -v '^#pragma GCC' > prelude/primops.txt
../utils/genprimopcode/genprimopcode --data-decl          <
prelude/primops.txt > primop-data-decl.hs-incl
/bin/sh: line 1: 25386 Illegal instruction
../utils/genprimopcode/genprimopcode --data-decl < prelude/primops.txt
> primop-data-decl.hs-incl

It is rather odd... am I missing something?  Thanks a lot!
-Brian


More information about the Glasgow-haskell-users mailing list