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: Tom Tromey <tromey at redhat dot com>
- To: Neil Booth <neil at daikokuya dot demon dot co dot uk>
- Cc: Daniel Egger <degger at fhm dot edu>, GCC Developer Mailinglist <gcc at gcc dot gnu dot org>
- Date: 13 Mar 2002 16:47:20 -0700
- Subject: Re: -MD together with -save-temps broken
- References: <1016051164.18118.3.camel@sonja> <20020313230831.GD2344@daikokuya.demon.co.uk>
- Reply-to: tromey at redhat dot com
>>>>> "Neil" == Neil Booth <neil@daikokuya.demon.co.uk> writes:
>> /opt/gcc/bin/gcc -save-temps -O2 -Wall -Wp,-MD,.deps/glib-genmarshal.pp
>> -c glib-genmarshal.c
Neil> I'm not sure what you expect this to do, but it looks like you
Neil> expect the dependency output to go to .deps/glib-genmarshal.pp.
Neil> I don't believe that any prior version of GCC allowed you to
Neil> name dependency output with -MD; but I could be wrong.
Note the `-Wp'. This worked in pre-3.0 releases but wasn't documented.
Automake pioneered the use of this because no other approach did what
we needed; see the comments in `depcomp'.
With 3.0 this approach is obsolete. The new options are better.
Tom