This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: gcc -MF doesn't work as expected
- To: Peter Eisentraut <peter_e at gmx dot net>
- Subject: Re: gcc -MF doesn't work as expected
- From: Neil Booth <neil at daikokuya dot demon dot co dot uk>
- Date: Sun, 8 Apr 2001 18:49:50 +0100
- Cc: gcc-bugs at gcc dot gnu dot org
- References: <Pine.LNX.4.30.0104081804200.1236-100000@peter.localdomain>
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.