HEAD does not build

Ian Lynagh igloo at earth.li
Wed Jul 16 09:37:54 EDT 2008


On Tue, Jul 15, 2008 at 04:50:44PM +0200, Jost Berthold wrote:
> 
> For some complicated-to-explain reason, I do not have it (but I do have
> one called "ghc-6.8.3" in the path). As you can see, I configured the
> build to use ghc-6.8.3 as the haskell compiler. However, it calls "ghc"
> here. Unsure if this is particular to hpc. It might well be that cabal-bin
> calls it in general.

I can't reproduce this. The ghc path that I configure with is passed
through correctly for me:

hpc$ mv ../bootstrapping.conf ../bootstrapping.conf.tmp

hpc$ /home/ian/ghc/darcs/ghc/libraries/cabal-bin /usr/bin/ghc /home/ian/ghc/darcs/ghc/libraries/bootstrapping.conf configure --distpref=dist-bootstrapping --with-compiler=/usr/bin/ghc --with-hc-pkg=/usr/bin/ghc-pkg --package-db=/home/ian/ghc/darcs/ghc/libraries/bootstrapping.conf.tmp

hpc$ /home/ian/ghc/darcs/ghc/libraries/cabal-bin /usr/bin/ghc /home/ian/ghc/darcs/ghc/libraries/bootstrapping.conf build --distpref=dist-bootstrapping -v
[...]
/usr/bin/hsc2hs --cc=/usr/bin/ghc --ld=/usr/bin/ghc --cflag=-package-conf --cflag=/home/ian/ghc/darcs/ghc/libraries/bootstrapping.conf.tmp --lflag=-package-conf --lflag=/home/ian/ghc/darcs/ghc/libraries/bootstrapping.conf.tmp --cflag=-package --cflag=base-2.0 -o dist-bootstrapping/build/Trace/Hpc/Reflect.hs Trace/Hpc/Reflect.hsc
[...]

hpc$ /usr/bin/hsc2hs --cc=/usr/bin/ghc --ld=/usr/bin/ghc --cflag=-package-conf --cflag=/home/ian/ghc/darcs/ghc/libraries/bootstrapping.conf.tmp --lflag=-package-conf --lflag=/home/ian/ghc/darcs/ghc/libraries/bootstrapping.conf.tmp --cflag=-package --cflag=base-2.0 -o dist-bootstrapping/build/Trace/Hpc/Reflect.hs Trace/Hpc/Reflect.hsc -v
Executing: /usr/bin/ghc -c -package-conf /home/ian/ghc/darcs/ghc/libraries/bootstrapping.conf.tmp -package base-2.0 dist-bootstrapping/build/Trace/Hpc/Reflect_hsc_make.c -o dist-bootstrapping/build/Trace/Hpc/Reflect_hsc_make.o
[...]


Thanks
Ian



More information about the Cvs-ghc mailing list