
Hi, I would like to get ghc (version 6.6) working for our students. The machines are ATHLON-64 with Solaris 10. (SunOS 5.10 Generic_118855-19 i86pc i386 i86pc) If someone has a binary distribution of any ghc version (that is able to build ghc-6.6), please let me know. But I would also try to build ghc from hc-sources. What is the best platform I could get hc-sources from? We have sparc-sun-solaris2.10 and i686-pc-linux-gnu ourselves. In case that I have to port from another host platform as described in http://www.haskell.org/ghc/docs/6.6/html/building/sec-porting-ghc.html I've attached my generated target files from the "includes"-directory (with sources from the fresh ghc-6.6 release). Would someone create a "hc-file-bundle" on a more suitable host for me? Thanks for any help, Christian

Christian Maeder wrote:
I would like to get ghc (version 6.6) working for our students. The machines are ATHLON-64 with Solaris 10. (SunOS 5.10 Generic_118855-19 i86pc i386 i86pc)
If someone has a binary distribution of any ghc version (that is able to build ghc-6.6), please let me know.
But I would also try to build ghc from hc-sources. What is the best platform I could get hc-sources from? We have sparc-sun-solaris2.10 and i686-pc-linux-gnu ourselves.
You should be able to use any platform with a working GHC 6.6 to bootstrap from; x86/Linux is fine. Ian bootstraps GHC on new machines for fun(!), so I'm pretty sure the process has most of the kinks ironed out at the moment. Cheers, Simon

Simon Marlow schrieb:
You should be able to use any platform with a working GHC 6.6 to bootstrap from; x86/Linux is fine. Ian bootstraps GHC on new machines for fun(!), so I'm pretty sure the process has most of the kinks ironed out at the moment.
Ok, I've got a hc-file-bundle now. Comparing to http://www.haskell.org/ghc/docs/6.6/html/building/sec-porting-ghc.html#unreg... I made (had to make) the following differently: 1. I copied also ghcplatform.h from the target to the host's includes directory. Was that wrong? 2.) The directories glafp-utils and ghc do not exist in the ghc-6.6 sources so I simply called "make boot && make" in the top-level host directory. (It failed in rts as expected) 3.) For the final "make hc-file-bundle Project=Ghc" I had to delete one line in the toplevel Makefile: [..]libraries/haskell-src/Language/Haskell/Parser.hs >> hc-files-to-go haskell-src is not a part of ghc-6.6 (without extra libs) So far Christian
participants (2)
-
Christian Maeder
-
Simon Marlow