Same binary, different md5sums

Andrew Haley aph@redhat.com
Wed May 3 09:59:00 GMT 2006


Mattias Brändström writes:

 > 
 > Why does g++ generate binaries with different checksums when I compile 
 > my project at two different occasions with the same commands?
 > 
 > I realize that this is a fairly broad question, but I would like to know 
 > if there is anything in particular I should take into account when 
 > trying to generate binaries with the same checksum.

There could be all manner of reasons.  To begin with, diff the
assembly language source produced by g++ -save-temps.  That'll get us
started.

Andrew.



More information about the Gcc-help mailing list