This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: -MD together with -save-temps broken
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.