When I compile a simple test.cpp file twice using xlC compiler on AIX:
xlC_r test.cpp -o test1
xlC_r test.cpp -o test2
Then test1 and test2 are diffrent! They have diffrent md5sum.
But when I do the same on linux (with g++ of course instead of xlc) then test1 and test2 are the same...
Anybody please could tell me why this strange behavior happens in AIX??
Thanks
Maybe it includes a timestamp in the compiled program. You could try and find where they differ by saving an octal or headecimal dump of each program and comparing the results. Many UNIX variants provide the
od
anddiff
programs which you could use, but I don't know if they are available under AIX.