The configure for ghc does the following:

checking how to run the C preprocessor... (cached) gcc -E
checking how to invoke GNU cpp directly... (cached) 
/usr/local/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2.3/cpp

Why the latter?  And does it only look in the gcc installation
for cpp, or does it check ones PATH, or whatever, too?

I ask because this leads to an endemic installation glitch here,
when I then try to install the same build on several different
machines, each of which have different versions of gcc (!), and it
all goes horribly wrong when mkdependHS is run, which uses this
mechanism for invoking cpp.

Not a biggie, obviously (I just patch it up by hand), but a slightly
persistant niggle.

(And yes, I do know that's not what "wherefore" really means. ;-) )

Slainte,
Alex.

Reply via email to