projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use relative URLs when referring to libraries; push to 6.6 branch
[ghc-hetmet.git]
/
distrib
/
cross-port
diff --git
a/distrib/cross-port
b/distrib/cross-port
index
36ef8ed
..
690e60b
100644
(file)
--- 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
./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
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 glafp-utils && make boot && make)
(cd ghc && make boot)
+ (cd ghc/utils && make)
(cd ghc/compiler && make stage=1)
cd ..
(cd ghc/compiler && make stage=1)
cd ..