Re: [OT] Non-GCC compilers used for linux userspace



On Tue, Mar 28, 2006 at 12:13:15PM -0500, Kyle Moffett wrote:
On Mar 28, 2006, at 11:59:13, Jason L Tibbitts III wrote:
"KM" == Kyle Moffett <mrmacman_g4@xxxxxxx> writes:
So does anybody compile userspace under anything other than GCC or
Intel compilers? Do any such compilers even exist?

PGI and PathScale are around. Lahey, too, although they seem to
just do Fortran now.

I doubt you'd want to worry about compiling the entire userland
with these compilers, however.

Mainly I want to know if I should even bother making the kabi headers
compile with anything other than GCC. Judging from the apparently
negligible number of users, it doesn't sound like something I should
spend much or any time on, at least for now.

I'm not sure how you got to that conclusion. People have already named
several non-GCC compilers that are used; and most of the users of
commercial compilers won't be reading this list.

If you want glibc to ever include these things, they had better be
portable C and work without GCC. Otherwise it's a non-starter.
Only GCC may be used to build glibc, but it deliberately supports any
conforming C compiler to build userspace code.

--
Daniel Jacobowitz
CodeSourcery
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: GCC options to mimic Fortran assumptions?
    ... > A number of people seem to think that Fortran is often faster than C ... > for numerical codes because Fortran compilers can make assumptions ... Does GCC have compiler optimization switches ...
    (comp.lang.fortran)
  • Re: Which PIC18 C Compiler?
    ... Walter gave a good answer regarding recursion in 8051 compilers, totally unrelated to gcc and/or sdcc (since there is no gcc port for the 8051). ... But in my experience on ColdFire's and PPC's, it has generated similar to or better than the few commercial compilers I have seen. ...
    (comp.arch.embedded)
  • Re: math.nroot [was Re: A brief question.]
    ... >>> Ah, but as I've said before, virtually all C compilers on 754 boxes ... >>> happy to use gcc, they all could have used the older gcc spellings ... > use glibc, they all could have used the older glibc spellings. ... for setting traps) interfaces, and I can't be arsed to go through old ...
    (comp.lang.python)
  • Re: math.nroot [was Re: A brief question.]
    ... >> happy to use gcc, they all could have used the older gcc spellings ... parings of C compilers and C runtime libraries are ... use glibc, they all could have used the older glibc spellings. ... trap doesn't actually fire until the _next_ fp operation ...
    (comp.lang.python)
  • Re: What is Linux built with? (or, what does this question mean?)
    ... Isn't the kernel/distro nearly always built w/ gcc? ... Now some of us actually have other compilers as well and these could be ... specific to provide cache and other optimizing that can't be generic. ... gnu compile in a way that it gives some registers over to the kernel as far ...
    (alt.os.linux.suse)