Annotation of wikisrc/users/porting_and_updating_ghc.mdwn, revision 1.1
1.1 ! wiki 1: https://downloads.haskell.org/~ghc/6.4.2/docs/html/building/sec-porting-ghc.html#sec-booting-from-hc
! 3: > < mspo> Bootstrapping GHC on a system without GHC already installed is achieved by taking the intermediate C files (known as HC
! 4: > files) from another GHC compilation, compiling them using gcc to get a working GHC.
! 5: > < dh> that is no longer supported.
! 6: > < dh> or rather, that's what's no longer supported
! 7: > < mspo> that is "kristerw's gcc 6.4.2 bootstrap kit"
! 9: > < mspo> dh: what about building with a first-party ghc under linux emulation?
! 10: > < mspo> https://downloads.haskell.org/~ghc/7.8.3/
! 11: > < dh> I dunno
! 13: > < dh> mspo: for ghc, to begin with, install lang/ghc (ghc 6.8) and try packaging 6.12
! 14: > < dh> you need an i386 chroot for this, and it's a large slow build, but it's otherwise mostly ok
! 15: > < dh> if you set it up so it'll build from an already-installed ghc 6.8, that's a good starting point
! 16: > < dh> I have some stuff I can send you regarding how to rig it out for using a binary package as a bootstrap kit
! 17: > < dh> meanwhile, I need to commit a gcc64 package (the ghc from the existing "source" bootstrap kit)
! 18: > < dh> and a ghc68 package that's equivalent to the current lang/ghc but uses ghc64
! 19: > < dh> both of these I have most of the work already done
! 20: > < dh> then ideally we hack things so they can all be installed at once, debug ghc612, and then work on the most recent 7.x that
! 21: still builds on 6.12
! 22: > < dh> packaging all the versions means binary bootstrap kits become less critical because anyone can make one
! 23: > < dh> also, in the above s/gcc/ghc/g, fingers have "gcc" wired in
! 24: > < dh> the idea is to have each ghc package support building either from a binary package of an older version, a binary package
! 25: of itself, an installed older version, or an installed itself
! 26: > < mspo> dh: got it (I think)
! 27: > < mspo> dh: I'm a littls scared about trying to make the jump to 64bit
! 28: > < dh> and at some point we want to figure out ... that
! 29: > < dh> but let's make i386-netbsd work first
! 30: > < dh> using a 32-bit chroot for haskell is annoying but it's not critical
CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb