Problems with -MD -MMD preprocessing for dependency information

Neil Booth neil@daikokuya.demon.co.uk
Wed Jan 17 11:10:00 GMT 2001


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.



More information about the Gcc-bugs mailing list