On Sat, 26 May 2012 21:32:52 +0200 Reindl Harald wrote:
from the binary, "file" does only print what a file contains
Ok, then where does it come from, since it's not the current kernel version and it's not the elfutils version? gcc somehow finds that number and inserts it into the binary. Where did it find it and why is that number not the same as the other stuff, notably the kernel, since it appears to be a kernel version number? Just not the current kernel version number.
On Sat, 2012-05-26 at 17:21 -0600, Frank Cox wrote:
Ok, then where does it come from, since it's not the current kernel version and it's not the elfutils version? gcc somehow finds that number and inserts it into the binary. Where did it find it and why is that number not the same as the other stuff, notably the kernel, since it appears to be a kernel version number? Just not the current kernel version number.
An educated guess would be because the C and C++ ABI is backwards compatable with el5. Check it out...build the code on el5 and it should run under el6. For el5 you need the gcc44 update package.
John