Re: GHC for MacOS X binary now available

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

You need to run ranlib on a bunch of the libHS*.a files.
Yes, I should have added that to the README. It seems that ranlib has to be rerun whenever those .a files are moved around...
[...] Also, linking with ghc seems to need libgmp:
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.
... and that's probably why libgmp was already installed on my system, and I never even thought about it. For now, you'll have to get it from "someplace else"... I'm a little short on time this week... otherwise I would already be trying to get the profiler to work (last time I tried, it segfaulted). Cheers, Wolfgang
participants (2)
-
Ashley Yakeley
-
Wolfgang Thaller