This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RFA] Dependency output with -MMD/-MD and -o
- To: Nathan Sidwell <nathan at codesourcery dot com>
- Subject: Re: [RFA] Dependency output with -MMD/-MD and -o
- From: Neil Booth <neil at daikokuya dot demon dot co dot uk>
- Date: Tue, 9 Jan 2001 14:53:34 +0000
- Cc: gcc-patches at gcc dot gnu dot org, Zack Weinberg <zackw at Stanford dot EDU>
- References: <20010109142939.G1474@daikokuya.demon.co.uk> <3A5B250E.BD3768DE@codesourcery.com>
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.