summaryrefslogtreecommitdiff
path: root/distrib/cross-port
diff options
context:
space:
mode:
authorsimonmar <unknown>2003-08-04 14:38:59 +0000
committersimonmar <unknown>2003-08-04 14:38:59 +0000
commit3786579bb1285a655ad0cbdf28ec443a2dfb7acc (patch)
tree028bfd8fb232fd2f2aa5ce89302a4a360185ba9d /distrib/cross-port
parenta391f59439b104e6446d738935ad4bbdac0f26c8 (diff)
downloadhaskell-3786579bb1285a655ad0cbdf28ec443a2dfb7acc.tar.gz
[project @ 2003-08-04 14:38:59 by simonmar]
A couple of small updates that were sitting in my tree..
Diffstat (limited to 'distrib/cross-port')
-rw-r--r--distrib/cross-port8
1 files changed, 6 insertions, 2 deletions
diff --git a/distrib/cross-port b/distrib/cross-port
index 36ef8ede18..690e60b16a 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 ..