
26 Sep
2003
26 Sep
'03
2:34 p.m.
Ian Lynagh
Attached is a patch which does two things:
* Gets compiler type from the result of running a compiler if the first 3 letters aren't ghc|nhc|hbc|gcc. I wanted this for /usr/bin/haskell-compiler. * If "hmake-config add-dyn" is used instead of "hmake add" then the compiler information is not stored, but worked out dynamically when used. This means /usr/bin/haskell-compiler can be the default hmake compiler on a Debian installation and it doesn't matter if it is really nhc98, ghc6 or ghc5, and there is no need to require specific versions of the compilers.
Thanks for the contribution. I am reviewing your code and will incorporate it into hmake with perhaps a couple of tidy-ups. Regards, Malcolm