
On Mon, 2008-01-21 at 15:23 +0000, Simon Marlow wrote:
Jim Burton wrote: [...] First thing to note is that bootstrapping from HC files has bitrotted in 6.8.x, see http://hackage.haskell.org/trac/ghc/ticket/1346. I've updated the wiki instructions to say this. You should go back to 6.6.x, or be prepared to fix things... I thought I remembered someone saying recently they were looking into getting bootstrapping working again, but I can't seem to find it now.
Hi,thanks for your help. I'll try 6.6.1 and let you know how I get on. Jim
On Mon, 2008-01-14 at 12:41 +0000, jb162@brighton.ac.uk wrote:
Hi, host machine is Linux i386 and the target is NetBSD alpha, ghc 6.8.2. With the help of the list the first part (on the target) is done and I'm building the compiler on the host -- when building rts I get
"cc1: error: unrecognized command line option "-mieee"
It looks like this comes from mk/bootstrap.mk, which says:
ifeq "$(alpha_TARGET_ARCH)" "1" PLATFORM_CC_OPTS += -static -w PLATFORM_HC_BOOT_CC_OPTS += -mieee endif
So someone in the past thought it was a good idea to pass this option when compiling .hc files. I can't tell you any more than that - perhaps just removing that line will get you going again.
Cheers, Simon
What's this about? (I notice a couple of seemingly ignorable warnings in the following, about missing gmpbuild and libHSrts.a. Is that relevant?) Thanks.
jim@mowa624-jb162:~/ghc-6.8.2/compiler$ cd ../rts && make boot && make gcc -E -undef -traditional -P \ -DIMPORT_DIR='"/home/jim/ghc-6.8.2/libraries/rts"' \ -DLIB_DIR='"/home/jim/ghc-6.8.2/libraries/rts"' \
-DINCLUDE_DIR='"/home/jim/ghc-6.8.2/libraries/rts/include"' \ -DDATA_DIR='"/home/jim/ghc-6.8.2/libraries/rts"' \ -DHTML_DIR='"/home/jim/ghc-6.8.2/libraries/rts/html"' \
-DHADDOCK_IFACE='"/home/jim/ghc-6.8.2/libraries/rts/html/rts.haddock"' \ -DFPTOOLS_TOP_ABS='"/home/jim/ghc-6.8.2"' \ -x c -DGMP_INCLUDE_DIRS='' -DGMP_LIB_DIRS='' -I../includes -Iinclude -DPACKAGE=rts -DVERSION= -DPKG_LIBDIR='"/usr/local/lib/ghc-6.8.2"' -DPKG_DATADIR='"/usr/local/share/ghc-6.8.2"' package.conf.in | \ grep -v '^#pragma GCC' | \ sed -e 's/""//g' -e 's/:[ ]*,/: /g' >package.conf.inplace ../utils/ghc-pkg/ghc-pkg-inplace update - --force-files
_______________________________________________ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
_______________________________________________ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
_______________________________________________ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users