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

Matthew Woehlke mw_triad@users.sourceforge.net
Tue Jun 19 22:25:00 GMT 2007


Brian Dessent wrote:
> Matthew Woehlke wrote:
>> Incidentally, does the Windows-x64 port* of gcc perpetuate this idiocy?
> 
> That's a silly question... Of course it does, it's not gcc's decision to
> make.  If gcc were to act in a way that is fundamentally broken from the
> platform specification it would be utterly useless as a compiler --
> calling any system function or anything else built by the native tools
> would have wrong arguments, structs would have different layouts, you'd
> get all kinds of random crashes.

Hmm, true... bleh. Bummer that even gcc is stuck with Microsoft's 
decision making.

-- 
Matthew
"Five is right out!"
   -- Cleric (from Monty Python's Quest for the Holy Grail)



More information about the Gcc-help mailing list