X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=distrib%2Fcross-port;h=690e60b16aa157366204f495bcbf163b39909623;hp=36ef8ede18eaa8ba9240e74f3df3af94dfd05d20;hb=a3e027a34f5e956da3875ab629aa2427e520f879;hpb=a0b661f7e31592c09593cb95a58e3003a24515ca diff --git a/distrib/cross-port b/distrib/cross-port index 36ef8ed..690e60b 100644 --- a/distrib/cross-port +++ b/distrib/cross-port @@ -59,13 +59,17 @@ if [ ! -f b2-stamp ]; then ./configure --with-ghc=$base/b1/ghc/compiler/stage1/ghc-inplace touch mk/build.mk - echo "GhcHcOpts = -O -H32m -fvia-C -keep-hc-files" >> mk/build.mk + # The bootstrapped compiler should probably generate unregisterised + # code too. If you don't want it to, then comment out this line: + echo "GhcUnregisterised = YES" >> mk/build.mk + echo "SRC_HC_OPTS += -keep-hc-file -fvia-C" >> mk/build.mk echo "GhcWithNativeCodeGen = NO" >> mk/build.mk echo "GhcWithInterpreter = NO" >> mk/build.mk - # we just need to build the compiler... + # we just need to build the compiler and utils... (cd glafp-utils && make boot && make) (cd ghc && make boot) + (cd ghc/utils && make) (cd ghc/compiler && make stage=1) cd ..