ghc --make and linking
Frederik Eaton
frederik at ugcs.caltech.edu
Wed Mar 9 03:48:56 EST 2005
Is there a reason why "ghc --make" always does a link step regardless
of the timestamps of the dependencies?
If it could elide the link step when the output is up to date, it
would be much closer to 'make'.
Also, I was trying to write a simple replacement for 'runghc' which
keeps a compiled version of the program around in /tmp to be more
efficient, this would be a few lines if "ghc --make" had the desired
behavior ... but OTOH maybe I should be using "ghc -M" and "make"
avoid the ghc startup delay.
Frederik
--
http://ofb.net/~frederik/
More information about the Glasgow-haskell-bugs
mailing list