Can't build GHC on Mac OS X

Hi, 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.so StdDIS.c gcc: unrecognized option `-shared' ld: Undefined symbols: _main make[3]: *** [StdDIS.so] Error 1 make[2]: *** [all] Error 1 make[1]: *** [all] Error 1 make: *** [build] Error 1 Any idea what's up? -- Kirsten Chevalier * krc@uclink.berkeley.edu * Often in error, never in doubt
participants (1)
-
Kirsten Chevalier