How to compare Two binary files?
Posted on 2010-08-16
A library is compiled with Wind River Diab 4.2b compiler resulting in old.a file.
Identical library is compiled with Wind River Diab 22.214.171.124 compiler resulting in new.a.
SlickEdit DIFFzilla utility was used to compare old.a and new.a binary files.
The files are not getting compared because first part of old.a is shown against Imaginary Buffer. Then, first part of new.a is show against Imaginary Buffer. Then, next part of old.a is shown against Imaginary Buffer. Then, next part of new.a is shown against Imaginary Buffer. This keeps repeating until end of files is reached.
My guess is that files are not different. Somehow compiler output formats are different which isn't allowing the files to get compared.
What other options do I have to compare these binay files?
Other tools I'm using are Clearcase, Codewright, Unix, Linux.