This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Binary built on different platforms with exact same tools different?


Hi. I've built an xscale-elf toolchain from gcc-4.2.2, binutils-2.17, newlib-1.15.0. I've used the exact same build procedure on both Mac OS X 10.5 (gcc-4.0.1-based) and Cygwin (gcc 3.4-based).

Then I built our code and stripped the resulting binary with objcopy on each platform.

Both binaries seem to run the same.

However, cmp shows many differences between the two resulting binaries. Here are a few:

$ cmp -l ~/h h | head -10
     77  21  63
     81  32  74
     85  27  71
     97 370 220
     98 162 163
    101 134 364
    105 134 364
    141   4  15
    143  55 240
    144 345 341


Are these differences something to worry about?


TIA,
Rick


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]