I don't suppose Atze Dykstra or anyone else has done any more work on GHC for MacOS X? Currently the 4.08.1 bootstrapping binaries don't work properly under the final MacOS X -- I had to rerun ranlib on all the libraries, and when I tried to compile a 'Hello World' Haskell program I got unresolvable references (look like trivial arithmetic functions) in the link phase, apparently coming from 'libHSrts.a'. The ideal would be one or more fink scripts (see <http://fink.sourceforge.net/>) that end up with a fully working installation of GHC 5.00. But first I have to figure out how to build the thing manually. -- Ashley Yakeley, Seattle WA
Ashley Yakeley wrote:
I don't suppose Atze Dykstra or anyone else has done any more work on GHC for MacOS X? Currently the 4.08.1 bootstrapping binaries don't work properly under the final MacOS X -- I had to rerun ranlib on all the libraries, and when I tried to compile a 'Hello World' Haskell program I got unresolvable references (look like trivial arithmetic functions) in the link phase, apparently coming from 'libHSrts.a'.
Apple separated the math library from the System framework a short while before OS X 1.0 was released. You need to recompile the RTS, which is tricky because the GMP library in 4.08.1 is a bit difficult to compile on OS X. Can I upload my replacement for libHSrts.a and libgmp.a, or the complete tarball (~22M) somewhere ? On Atze's page, maybe ? Or on www.haskell.org ?
The ideal would be one or more fink scripts (see <http://fink.sourceforge.net/>) that end up with a fully working installation of GHC 5.00. But first I have to figure out how to build the thing manually.
I've been working on the port to MacOS X. As it is, GHC 5.00 will not work even if you manage to compile it - the MachO binary architecture requires some adjustments in the RTS. A while ago I managed to get that working, but I stupidly lost some of the patches. I've been too busy to do it again recently, but I will have more time by the end of the month. -- Sebastien Carlier
At 11:04 +0200 19/04/2001, Sebastien Carlier wrote:
Ashley Yakeley wrote:
I don't suppose Atze Dykstra or anyone else has done any more work on GHC for MacOS X? Currently the 4.08.1 bootstrapping binaries don't work properly under the final MacOS X -- I had to rerun ranlib on all the libraries, and when I tried to compile a 'Hello World' Haskell program I got unresolvable references (look like trivial arithmetic functions) in the link phase, apparently coming from 'libHSrts.a'.
I have fixed this. On http://www.cs.uu.nl/%7Eatze/Programming/index.html ghc (still version 4.08.1) can be downloaded (or download directly via http://www.cs.uu.nl/%7Eatze/Download/ghc-4.08.1.pkg.sit), in working condition again, as an installable package. This is still a bootstrapping version as I have had not much time yet to continue porting, but works fine otherwise. I hope to have more time available at the end of May. -- - Atze - Atze Dijkstra, Institute of Information & Computing Sciences, /|\ Utrecht University, PO Box 80089, 3508 TB Utrecht, Netherlands / | \ Tel.: +31-30-2534093/1454 | WWW : http://www.cs.uu.nl/~atze /--| \ Fax : +31-30-2513971 | Email: atze@cs.uu.nl / |___\
participants (3)
-
Ashley Yakeley -
Atze Dijkstra -
Sebastien Carlier