Hi all,
I'm trying to build a minimal[*] set of GHC libraries, and I noticed a
comment in libraries/Makefile that says:
# Set GhcBootLibs=YES from the command line to work with just the libraries
# needed to bootstrap GHC.
So I tried:
make GhcBootLibs=YES
at the top level. I got:
The end of the output I got is:
make[2]: Entering directory `/home/tjc/GhcTrees/ghc-WORKING-2008-09/compiler'
test -f /home/tjc/GhcTrees/ghc-WORKING-2008-09/stage3.package.conf ||
echo "[]" > /home/tjc/GhcTrees/ghc-WORKING-2008-09/stage3.package.conf
/home/tjc/GhcTrees/ghc-WORKING-2008-09/libraries/cabal-bin
/usr/local/ghc-6.8.2/bin/ghc
/home/tjc/GhcTrees/ghc-WORKING-2008-09/libraries/bootstrapping.conf
configure --distpref dist-stage2 \
--flags=-stage1 --flags=ncg --flags=ghci
--ghc-option=-DGHCI_TABLES_NEXT_TO_CODE --flags=editline
--with-compiler=/home/tjc/GhcTrees/ghc-WORKING-2008-09/ghc/stage1-inplace/ghc
--with-hc-pkg=/home/tjc/GhcTrees/ghc-WORKING-2008-09/utils/ghc-pkg/install-inplace/bin/ghc-pkg
\
--prefix=/NONEXISTENT --bindir=/NONEXISTENT
--libdir=/NONEXISTENT --libexecdir=/NONEXISTENT --datadir=/NONEXISTENT
--docdir=/NONEXISTENT --haddockdir=/NONEXISTENT --htmldir=/NONEXISTENT
\
--libsubdir='$pkgid' --with-gcc=gcc
--with-ld=/usr/bin/ld -fcm --with-hscolour=/usr/local/bin/HsColour
--with-alex=/usr/bin/alex --with-happy=/usr/local/bin/happy
--configure-option='--prefix=/usr/local/ghc-6.9.20080915'
--configure-option='--with-ghc=/usr/local/ghc-6.8.2/bin/ghc'
--configure-option=--with-cc=gcc
--with-hsc2hs=/home/tjc/GhcTrees/ghc-WORKING-2008-09/utils/hsc2hs/install-inplace/bin/hsc2hs
\
--ghc-option=-DSTAGE=2
Configuring ghc-6.9...
cabal-bin: At least the following dependencies are missing:
Cabal -any,
base <3,
editline -any,
filepath >=1 && <1.2,
hpc -any,
template-haskell -any,
unix -any
make[2]: *** [boot.stage.2] Error 1
This is strange, because GHC shouldn't depend on hpc or
template-haskell AFAIK, and if it depends on the other libs, shouldn't
GhcBootLibs=Yes make sure to build them? Or am I doing something
wrong? (Do I have to make clean before doing this? I hope not.)
Thanks,
Tim
[*] for some fairly ill-specified value of "minimal"
--
Tim Chevalier * http://cs.pdx.edu/~tjc * Often in error, never in doubt
"If you don't understand the causes, it is impossible to come up with
a solution." -- Joe Biden
_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc