-MD together with -save-temps broken
Neil Booth
neil@daikokuya.demon.co.uk
Wed Mar 13 15:08:00 GMT 2002
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.
More information about the Gcc
mailing list