This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Problems with -MD -MMD preprocessing for dependency information
- To: David Mahaffey <dmahaffey at epicrealm dot com>
- Subject: Re: Problems with -MD -MMD preprocessing for dependency information
- From: Neil Booth <neil at daikokuya dot demon dot co dot uk>
- Date: Wed, 17 Jan 2001 19:10:20 +0000
- Cc: gcc-bugs at gcc dot gnu dot org
- References: <9D899FC5B147D4118B3F0006295503610830A5@ROCKFORD>
David Mahaffey wrote:-
> The online documentation for gcc and -MD says :
>
> "Like `-M' but the dependency information is written to a file
> rather than stdout. gcc will use the same file name and directory as
> the object file, but with the suffix ".d" instead."
Yes, this is how CVS GCC works. 2.95.2 does not work as advertised.
I've done some work on dependencies recently, and fixed these issues.
You could either download the most recent snapshot, or even better
check out CVS.
We could really do with 2 sets of online docs - on for the CVS
version, and one for the most recent release :-(
Neil.