Re: Gforth and gcc "progress"



Bernd Paysan <bernd.paysan@xxxxxx> wrote:
Andrew Haley wrote:

Sure, but as I said to Bernd I had forgotten that it was ever
defined that way. In hindsight it was surely a mistake to define
it in such a way, but that's all history now.

IMHO the definition was right, and if the Alpha people had asked RMS
about his reasoning, they probably wouldn't have changed it. It's
the "ANSI C" blinder attitude shining through here again: long long
is a GCC extension, so "it can mean whatever we like it".

No, long long wasn't only a gcc-specific extension: several compiler
vendors also supported it or were about to, so it wasn't possible for
gcc simply to define what it meant without regard to anyone else.
Thre's an excruciating discussion at
http://yarchive.net/comp/longlong.html

This is all history now, for sure, and C99 has a better way to
select types with a specific size, so GCC should support this scheme
- e.g. a way to access int128_t on all 64 bit platforms without
GCC-specific attributes would be nice to have.

AFAIAA intN_t is provided by the C library, not the compiler, so it's
up to the library vendors. The split between library and compiler is
specified by the standard.

Andrew.
.



Relevant Pages

  • Re: Whats the story with the "end of XP"?
    ... Support gives them access to the larger body ... The same compiler suite may be "best" in both ... In the case of ByteCraft compilers, you are truly expert in your field, you work closely and rapidly with customers if there are any issues, and you have top class testing and quality control. ... understanding the inner workings of a relatively simple compiler like GCC ...
    (comp.arch.embedded)
  • Re: Idea: Multitasking graphical OS for the GS
    ... IIgs 65816 compiler that has nearly the number of ... gcc also has a much larger support infrastructure where it will be easier to ... The software developer and the hardware ...
    (comp.sys.apple2)
  • Re: Non ASCII characters in CFString litteral, HELP !
    ... CodeWarrior is PPC-only and very dead, ... compilers listed don't even support Objective-C. ... It is indeed lamentable that we have pretty much only one compiler ... For this particular case, blame C or Cocoa, not gcc. ...
    (comp.sys.mac.programmer.help)
  • Re: Compiling Tcl with Msys/MinGW on Windows XP
    ... checking for gcc... ... checking whether the C compiler is a cross-compiler... ... checking for EXCEPTION_DISPOSITION support in include files... ... I saw one case were people had to use msys 1.0.6 ...
    (comp.lang.tcl)
  • Re: RFC: drop support for gcc < 4.0
    ... gcc 3.2, but works when compiled with gcc 4.2" will most likely be lost ... use gcc-3 as the default kernel compiler will take it seriously (if it ... looks to have an impact to our kernel builds) otherwise we can tell you ... badly broken" would be "only support what the GCC team supports", ...
    (Linux-Kernel)