On Fri, 2009-08-07 at 10:55 +0200, Christian Maeder wrote: > Duncan Coutts wrote: > > I should also note that there is a GHC 6.10.4 binary for Sparc/Linux > > that is now included with Gentoo. It's got all features turned on except > > for split objects (which fails due to mixing ld -r and --relax flags). > > In particular it's a registerised via-C build with ghci, TH and > > profiling working. > > Does compiling using gcc-4.3.x work if -fvia-C is added?
There's no Sparc NCG in the 6.10 series so it's only -fvia-C. The new Sparc NCG is in 6.12. This build used gcc-4.1.2 which is the latest stable one on Gentoo for sparc. > > It's a distro package not a generic relocatable GHC binary tarball so > > there's no point putting it on the ghc download page, but it's there > > nevertheless if people want it (look for the gentoo ghc ebuild). > > I've found > http://packages.gentoo.org/package/dev-lang/ghc > > Where are ebuilds or downloadable binaries? For non-gentoo users, the ebuilds are available from cvs: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ghc/ eg 6.10.4: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ghc/ghc-6.10.4.ebuild?view=markup The binaries are not set up for separate distribution but if you inspect the ebuild you find: mirror://gentoo/ghc-bin-${PV}-sparc.tbz2 which means ghc-bin-6.10.4-sparc.tbz2 in the distfiles of any gentoo mirror, eg: http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/distfiles/ghc-bin-6.10.4-sparc.tbz2 It expects to unpack to / and installs under /usr however it's quite possible to unpack to a temp dir and relocate the scripts and package.conf using a bit of sed. In fact this is what the ebuild does for the bootstrapping binary. Duncan _______________________________________________ Glasgow-haskell-users mailing list [email protected] http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
