gcc -MF doesn't work as expected

Neil Booth neil@daikokuya.demon.co.uk
Sun Apr 8 10:49:00 GMT 2001


Peter Eisentraut wrote:-

> While the documentation is ambiguous and underspecifying about the exact
> semantics of -MF in absence of -MD, the fact that no object file is
> created despite the presence of -c is a bug.

Maybe I wasn't clear.  The only purpose of -MF is to override the default
name of the dependencies output file from what it otherwise would have
been.  It doesn't change semantics in any other way; -M and -MD retain
their meanings and behaviour.

If you think the documentation is unclear, a patch would be most welcome.

Neil.



More information about the Gcc-bugs mailing list