This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: 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
- From: John Love-Jensen <eljay at adobe dot com>
- To: tom peng <tompeng at microsoft dot com>, MSX to GCC <gcc-help at gcc dot gnu dot org>
- Date: Tue, 19 Jun 2007 07:15:56 -0500
- Subject: Re: 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
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