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


>>>>> "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


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