cvs commit: fptools/ghc/utils/ghc-pkg Main.hs Makefile

Sven Panne Sven.Panne@informatik.uni-muenchen.de
Sun, 25 Mar 2001 17:31:19 +0200


Marcin 'Qrczak' Kowalczyk wrote:
> What was wrong with my solution?

When compiling with a Perl-based ghc-driver (4.08.2 in my case),
one level of qoutes was missing. Adding one more level would be
wrong on the other hand for a Haskell-based driver. Simon's version
introduced a leading space in the driver path. This is what
I mean by

   TEXT SUBSTITUTION IS EVIL.

:-P  (If it was good, wouldn't we all use tcl instead of Haskell? :-}

My version survived a triple bootstrap, starting from 4.08.2, but
I'm not sure if it works for any strange make/cpp/ghc version. We
should really generate a Config.hs, but after the, I think, 10th
attempt to get a bootstrapping, working GHCi I just wanted a quick fix.

Cheers,
   S.