Size of C/C++ data type from GNU GCC/g++ compiled ELF 64-bit LSB executable, AMD x86-64 vs. ELF 32-bit LSB executable, Intel 80386
John Love-Jensen
eljay@adobe.com
Tue Jun 19 12:39:00 GMT 2007
Hi Tom,
> I need experts to shed light on C/C++ data type size inconsistencies
> when running 64-bit and 32-bit ELF executables compiled by GNU/GCC g++/gcc
I see the inconsistency but I don't understand why on 64-bit "signed long
int" is 4 bytes. That is alarming! File a bug!
At least everything else looks good.
Sincerely,
--Eljay
More information about the Gcc-help
mailing list