[RFA] Dependency output with -MMD/-MD and -o
Neil Booth
neil@daikokuya.demon.co.uk
Tue Jan 9 06:53:00 GMT 2001
Nathan Sidwell wrote:-
> > If there is no -o file specified, we still put the .d file in the
> > current directory, named after the .c file. I think this should be
> > changed to use its full path, too. This will be a follow-up patch,
> > and then I'm done.
> I disagree. I think the .d file should go in the same place as the
> output file. I.e. generating the .d name should use the output file
> name, however that is obtained, as a starting point. I think it would
> be a surprise that given 'subdir/foo.c' to get 'foo.o' and
> 'subdir/foo.d'.
Ah, OK, great. I agree, sorry about the thinko. No more to do :-)
Neil.
More information about the Gcc-patches
mailing list