temp preprocessed filename

Ian Lance Taylor iant@google.com
Sun Feb 28 04:10:00 GMT 2010


Michael Morrell <morrell@alumni.ucsd.edu> writes:

> I'm tracking down some differences in the object files from ostensibly the same compilation flags of the same input.  I've got two .o files that should be the same, but when I run:
>
>   readelf -wl <object file> | grep ii
>
> to see the debug.line info, I see a difference.  The filename that is shown
> is of the form <basename>.tmp,<hostname>.<number>.ii
>
> and <number> is different.  I've looked through the source and can't find
> where that filename is generated.  I want to know why <number> would change
> and how to prevent it from doing so.
>
> Can anyone point me in the right direction?

I think you can get names of that sort when using distcc and/or
ccache.  Are you using either of those?  Check the exact path of the
compiler.

Ian



More information about the Gcc-help mailing list