We have had confusion here because GHC uses the "prefix" Makefile variable (which
gives the final location of the compiled code) at two different times.
It uses it in "gmake" to construct the "ghc-4.05" driver script
(which hardwires in the location of the installed code), and it uses it in
"gmake install" to decide where to actually put the files.  As inbetween I've
been changing the value of "prefix", this is awkward.  I think it would
be better if "prefix" were only used by "gmake install".  It should be the
job of "gmake install" to produce the "ghc-4.05" driver script.

Reply via email to