[PATCH] add -foverride-comp-dir

Alexandre Oliva aoliva@redhat.com
Tue Oct 3 19:32:00 GMT 2006


On Oct  3, 2006, Dan Aloni <da-x@monatomic.org> wrote:

> Alexandre Oliva wrote:
>> On Sep 27, 2006, Geoffrey Keating <geoffk@apple.com> wrote:

>>> Would it be better to simply have a -fno-comp-dir flag, to omit this
>>> information entirely from the DWARF output?

>> We do, it's called -fno-working-directory.  I've used it for years.

> At least with gcc 4.1, this flag eliminates the working directory from
> the preprocessor output, but not from the DWARF output.

Odd...  I'm pretty sure it used to do that when I added it.  That
would be a regression.

-- 
Alexandre Oliva         http://www.lsd.ic.unicamp.br/~oliva/
Secretary for FSF Latin America        http://www.fsfla.org/
Red Hat Compiler Engineer   aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist  oliva@{lsd.ic.unicamp.br, gnu.org}



More information about the Gcc-patches mailing list