#3515: Use --make mode by default
---------------------------------+------------------------------------------
Reporter: duncan | Owner:
Type: feature request | Status: new
Priority: high | Milestone: 6.14.1
Component: Driver | Version:
Keywords: | Difficulty: Unknown
Os: Unknown/Multiple | Testcase:
Architecture: Unknown/Multiple | Failure: None/Unknown
---------------------------------+------------------------------------------
Comment(by simonmar):
Replying to [comment:5 isaacdupree]:
> I think it would be good to add a flag like `--no-make`, so that people
and build-systems can be explicit if they want to.
Maybe.
> How critical is it not to break unmodified build-systems? `--make -c`
sounds a bit tedious; also like it could confuse semi-newbies who would
think mode-flags don't work (if they haven't understood all about "--make"
mode, non-make mode, and flags yet). But I'm willing to accept it.
I think perhaps I wasn't clear enough: nobody would have to use `--make
-c` unless they are already doing so. It's just that this is the only
case that would require an explicit `--make` in the new syntax, to
disambiguate it from `ghc -c Foo.hs` which means something different.
In fact, I'd rather we hadn't changed the meaning of `-c` in the first
place. It used to mean "do batch compilation, stop after generating .o",
and now it means "don't link", the idea being that it could be used with
`--make` too, but now we find that overloading it like this has made it
difficult to change the syntax.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3515#comment:6>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs