summaryrefslogtreecommitdiff
path: root/distrib/cross-port
diff options
context:
space:
mode:
authorsimonmar <unknown>2003-07-24 09:29:10 +0000
committersimonmar <unknown>2003-07-24 09:29:10 +0000
commita0b661f7e31592c09593cb95a58e3003a24515ca (patch)
tree0157e49b14700853fe5ab715c0e5a61bd0f27a87 /distrib/cross-port
parent72f5cd2fbc56c266e92f974a4561fbe878628b63 (diff)
downloadhaskell-a0b661f7e31592c09593cb95a58e3003a24515ca.tar.gz
[project @ 2003-07-24 09:29:10 by simonmar]
Set GhcWithInterpreter=NO in stage2
Diffstat (limited to 'distrib/cross-port')
-rw-r--r--distrib/cross-port15
1 files changed, 9 insertions, 6 deletions
diff --git a/distrib/cross-port b/distrib/cross-port
index a7e43517f3..36ef8ede18 100644
--- a/distrib/cross-port
+++ b/distrib/cross-port
@@ -31,10 +31,11 @@ if [ ! -f b1-stamp ]; then
# the resulting mk/config.h file back into this tree before building
# the libraries.
- echo "GhcUnregisterised = YES" >> mk/config.mk
- echo "GhcLibHcOpts = -O -H32m -fvia-C -keep-hc-files" >> mk/config.mk
- echo "GhcLibWays =" >> mk/config.mk
- echo "SplitObjs = NO" >> mk/config.mk
+ touch mk/build.mk
+ echo "GhcUnregisterised = YES" >> mk/build.mk
+ echo "GhcLibHcOpts = -O -H32m -fvia-C -keep-hc-files" >> mk/build.mk
+ echo "GhcLibWays =" >> mk/build.mk
+ echo "SplitObjs = NO" >> mk/build.mk
# We could optimise slightly by not building hslibs here. Also, building
# the RTS is not necessary (and might not be desirable if we're using
@@ -57,8 +58,10 @@ if [ ! -f b2-stamp ]; then
cd b2
./configure --with-ghc=$base/b1/ghc/compiler/stage1/ghc-inplace
- echo "GhcHcOpts = -O -H32m -fvia-C -keep-hc-files" >> mk/config.mk
- echo "GhcWithNativeCodeGen = NO" >> mk/config.mk
+ touch mk/build.mk
+ echo "GhcHcOpts = -O -H32m -fvia-C -keep-hc-files" >> mk/build.mk
+ echo "GhcWithNativeCodeGen = NO" >> mk/build.mk
+ echo "GhcWithInterpreter = NO" >> mk/build.mk
# we just need to build the compiler...
(cd glafp-utils && make boot && make)