GHC for MacOS X binary now available

Ashley Yakeley ashley@semantic.org
Wed, 27 Mar 2002 00:05:11 -0800


At 2002-03-22 15:52, Wolfgang Thaller wrote:

>A tar.gz file (14.5MB) of GHC for MacOS X is now available for download at:
>http://www.foldr.org/Software/Haskell/ghc/ghc-5.03-13032002-MacOSX.tar.gz

You need to run ranlib on a bunch of the libHS*.a files. Also, linking 
with ghc seems to need libgmp:

/usr/bin/ld: table of contents for archive: 
/usr/local/lib/ghc-5.03/libHSconcurrent.a is out of date; rerun ranlib(1) 
(can't load from it)
/usr/bin/ld: table of contents for archive: 
/usr/local/lib/ghc-5.03/libHSlang.a is out of date; rerun ranlib(1) 
(can't load from it)
/usr/bin/ld: table of contents for archive: 
/usr/local/lib/ghc-5.03/libHSlang_cbits.a is out of date; rerun ranlib(1) 
(can't load from it)
/usr/bin/ld: table of contents for archive: 
/usr/local/lib/ghc-5.03/libHShaskell98.a is out of date; rerun ranlib(1) 
(can't load from it)
/usr/bin/ld: table of contents for archive: 
/usr/local/lib/ghc-5.03/libHSbase.a is out of date; rerun ranlib(1) 
(can't load from it)
/usr/bin/ld: table of contents for archive: 
/usr/local/lib/ghc-5.03/libHSbase_cbits.a is out of date; rerun ranlib(1) 
(can't load from it)
/usr/bin/ld: table of contents for archive: 
/usr/local/lib/ghc-5.03/libHSrts.a is out of date; rerun ranlib(1) (can't 
load from it)
/usr/bin/ld: can't locate file for: -lgmp

Doing ranlib was easy, but I'm not sure about -lgmp. Was there supposed 
to be a libgmp.a included? I notice other ghc versions for MacOS X 
include a libgmp.a.

-- 
Ashley Yakeley, Seattle WA