Re: gcc binary comparison help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Caleb Cittadino wrote:

> I'm using MacOSX + gcc4.  What do you mean by object format?

ELF, COFF, a.out, etc.  I have no idea what OS X uses.

> Also, I tried discarding the first 16 bytes as you suggested.  It
> looks like a different set of data is changing each time, but the file
> size remains the same.  So this method won't work.
> 
> Perhaps it is something in addition to (or instead of) the timestamp
> that is changing each time?

You might need to use -frandom-seed.  And try diffing the preprocessed
source for the two objects that differ to see what exactly is changing.

Brian

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux