Hi Ian, Since, meanwhile, my particular problem is solved, this is meant just as additional information for others to work around similar problems.
Ian Lynagh wrote: > 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$ /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... > hpc$ /usr/bin/hsc2hs --cc=/usr/bin/ghc --ld=/usr/bin/ghc ... > Executing: /usr/bin/ghc -c -package-conf ... OK, I see. You configured to use /usr/bin/ghc, and cabal-bin tells you it called this one. So at least, it is not *obvious* that something else, called plain "ghc", has been called. OTOH, let me object that with your standard configuration, calling just "ghc" will most likely end up calling /usr/bin/ghc (/usr/bin is a standard path entry). So this does not really prove there is no problem. IMHO, the ultimate test would be to put a bogus "ghc" (which terminates with an error) in your path before /usr/bin/ghc, and then configure and build as you did. If *that* works for you as well, I will admit that something strange is going on with the user and machine configuration I am using. :-) Jost _______________________________________________ Cvs-ghc mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-ghc
