Can't build GHC on Mac OS X

Kirsten Chevalier
Thu, 13 Mar 2003 19:45:43 -0800

I installed GHC 5.04.2 from binaries on my machine (running Mac OS 10.2.1
and gcc 3.1) and proceeded to try to build the latest version of GHC
from cvs, resulting in the following error message:
[lots of stuff snipped]
==fptools== make all - --no-print-directory -r;
 in /Users/krc/Work/fptools/green-card/lib/hugs
gcc -fPIC -shared -I . -DSTRICT -o StdDIS.c
gcc: unrecognized option `-shared'
ld: Undefined symbols:
make[3]: *** [] Error 1
make[2]: *** [all] Error 1
make[1]: *** [all] Error 1
make: *** [build] Error 1

Any idea what's up?

Kirsten Chevalier * * Often in error, never in doubt