This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: -MD together with -save-temps broken


Daniel Egger wrote:-

> Hija,
> 
> using the 3.1 branch or HEAD the following:
> 
> /opt/gcc/bin/gcc -save-temps -O2 -Wall -Wp,-MD,.deps/glib-genmarshal.pp
> -c glib-genmarshal.c

I'm not sure what you expect this to do, but it looks like you expect
the dependency output to go to .deps/glib-genmarshal.pp.  I don't
believe that any prior version of GCC allowed you to name dependency
output with -MD; but I could be wrong.  To the best of my knowledge the
only way to get the behaviour you appear to want was with the then
undocumented environment variable SUNPRO_DEPENDENCIES.

3.0.x and higher allow you to use -MF to name dependency output,
though only 3.0.5 (CVS) is consistent with 3.1 and 3.2 in every way;
sadly 3.0.4 has different semantics.  I think 3.0.5 (CVS) is very close
in behaviour to 2.95.x.

Neil.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]