28 Apr
2005
28 Apr
'05
4:42 p.m.
On Wed, Apr 27, 2005 at 03:56:38PM -0700, John Meacham wrote:
for now, these are equivalent.
ghc --make Main.hs -o foo jhc Main.hs -o foo
jhc is effectivly always in --make mode.
I suggest you make it possible not to operate in --make mode. A build system usually wants to know which targets will be built by a command, but --make makes this hard. This is a significant problem in the java world (where javac always works in something like --make mode). Yes, you can blame it on dumb build tools, but the problem exists. Also, processing only one file is desirable for quick compile tests. Andrew