-MD together with -save-temps broken

Neil Booth neil@daikokuya.demon.co.uk
Fri Mar 15 15:45:00 GMT 2002


Daniel Egger wrote:-

> Am Don, 2002-03-14 um 19.28 schrieb Neil Booth:
> 
> > But the documentation above doesn't claim -M -MF is the same as -MD.
> 
> Granted but I need this functionality. :) So what is the correct
> way to compile the source AND generete a dependencies file at the
> same time? -MF obviously is not unless there's a way to remove the
> implicit -E flip.

Uhh, -MD.  Or, if you want to specify the output file to be other than
the default, use DEPENDENCIES_OUTPUT environment variable as documented.

I've just checked both and both work.

Neil.



More information about the Gcc mailing list