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

From: Jesper Juhl
Date: Tue Mar 28 2006 - 12:53:33 EST


On 3/28/06, Kyle Moffett <mrmacman_g4@xxxxxxx> wrote:
> On Mar 28, 2006, at 11:13:42, Eric Piel wrote:
> > 03/28/2006 05:57 PM, Kyle Moffett wrote/a écrit:
> >> But my question still stands. Does anybody actually use any non-
> >> GCC compiler for userspace in Linux?
> >
> > At least in the domain of HPC, I've seen people which were
> > compiling mostly *everything* with the intel compiler (x86 and
> > ia64) for performance reason. So... yes userspace is sometimes
> > compiled with non-GCC compiler :-)
>
> Ok, well, the Intel compiler actually ends up emulating GCC and
> supports most of its extensions; supposedly it can even be used to
> compile the kernel sources, as per include/linux/compiler-intel.h. (I
> don't know how recently this has been tested, though) So does
> anybody compile userspace under anything other than GCC or Intel
> compilers? Do any such compilers even exist?
>

Other compilers do exist.

Over the years I've personally used a few to compile userspace apps
for different projects (though never for compiling the kernel).

Some of the compilers I have personally used for userspace apps on
Linux include ;

lcc - http://www.cs.princeton.edu/software/lcc/
tcc - http://fabrice.bellard.free.fr/tcc/

(plus gcc & icc ofcourse)


Others that I know of but have never used include :

sdcc - http://sdcc.sourceforge.net/
Compaq C for Linux - http://h30097.www3.hp.com/linux/compaq_c/index.html
Open Watcom - http://www.openwatcom.org/
vacpp - http://www-306.ibm.com/software/awdtools/vacpp/
XL C/C++ - http://www.absoft.com/Products/Compilers/C_C++/Linux/XLC/XLC.html

and I'm sure many more exist...

--
Jesper Juhl <jesper.juhl@xxxxxxxxx>
Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please http://www.expita.com/nomime.html
-
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/