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

From: Kyle Moffett
Date: Tue Mar 28 2006 - 12:38:23 EST


On Mar 28, 2006, at 12:28:47, Daniel Jacobowitz wrote:
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.

Ok, my email was a bit premature (I've gotten a couple other private emails about other compilers too) and if people see this as an issue then I'll try to make all the code C89-compliant from the start. I just didn't want to go writing a whole bunch of compatibility macros only to find out that they never got used.

Cheers,
Kyle Moffett

-
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/