Binary files differ

Bill Gatliff bgat@billgatliff.com
Thu Feb 12 15:16:00 GMT 2004


Daniel: 


Aah, an archive file also has time/date for each member of the archive.  
Definitely a source of diffs. 

You could link a test app, then objcopy to srec and diff that... 


b.g. 


Daniel Lidsten writes: 

> Hi again, 
> 
>> As a guess, I'm wondering if they're related to debugging information 
>> that includes compilation time.  Try using objcopy to translate the 
>> files to binary or S-record, and try your diff again.
> 
> That thought has crossed my mind too but when i run the --strip-all then
> nothing shall remain in the file, especially not such things as compile
> time (as i see it). Regarding the convertion, which was a good idea,
> unfortunatelly i am having trouble converting the file since it is not a
> linked executable but a eCos library (.a). Is there any other way then a
> binary diff to make sure that the build files are the same? 
> 
> Any other ideas? 
> 
> Regards, Daniel Lidsten
 


 --
Bill Gatliff
Embedded GNU, Linux training and development.
bgat@billgatliff.com 


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com



More information about the crossgcc mailing list