Re: Gforth and gcc "progress"



Andrew Haley wrote:

On Alpha it was not.

OK, but that has nothing at all to do with gcc: the sizes of types is
determined by the ABI.  gcc implements the ABI of whatever platform it
runs on.

long long wasn't part of the ABI. long long back then was a GCC extension,
not supported by any other compiler. C99 put long long into the standard,
and therefore now, it's part of the ABI, and you have to take C99's weasel
wording (courtesy to other vendors which have rendered the original C
typing system completely useless by now, like having no C90 integer type
which can hold a pointer - the IL32P64 model).

I'm ok when int128_t is implemented in a useful way; I don't care about how
the pointer type is called, as long as I can check it with autoconf.

--
Bernd Paysan
"If you want it done right, you have to do it yourself"
http://www.jwdt.com/~paysan/
.



Relevant Pages

  • Re: gcc stack problem
    ... We don't actually care about tailcalls (they're absolutely _fine_, ... as long as gcc maintainers don't want to help us, ... the "official ABI" simply isn't appropriate. ... for magic exception/interrupt calling conventions. ...
    (Linux-Kernel)
  • Re: Building portable linux applications
    ... It specifies versions: different ones for different versions of LSB. ... The C++ ABI that GCC uses was changed at GCC 3.4. ...
    (comp.os.linux.development.apps)
  • Re: need for packed attribute
    ... but gcc-3.4.5 for ARM seems to agree with you. ... > information about why gcc is doing this on ARM/Linux? ... > ABI document for ARM/Linux somewhere? ... The old ABI has it's roots in 1993 when the kernel and userland was ...
    (Linux-Kernel)
  • Re: Returning structs
    ... For x86, Linux and gcc generally conform to the System V ABI, which you ... has a rich variety of other languages that want to interoperate with C. ...
    (comp.os.linux.development.system)
  • Re: Closed source apps....
    ... > William Ahern wrote: ... > major Linux distribution. ... I believe it stabilized since GCC 3.2 or 3.3. ... the C++ specification they were forced to break the old ABI. ...
    (comp.os.linux.development.apps)