This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: -MD together with -save-temps broken
- From: Neil Booth <neil at daikokuya dot demon dot co dot uk>
- To: Daniel Egger <degger at fhm dot edu>
- Cc: GCC Developer Mailinglist <gcc at gcc dot gnu dot org>
- Date: Wed, 13 Mar 2002 23:08:31 +0000
- Subject: Re: -MD together with -save-temps broken
- References: <1016051164.18118.3.camel@sonja>
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.