[OT] Non-GCC compilers used for linux userspace

Jesper Juhl jesper.juhl at gmail.com
Tue Mar 28 19:56:27 CEST 2006


On 3/28/06, Kyle Moffett <mrmacman_g4 at mac.com> 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 at gmail.com>
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


More information about the llh-discuss mailing list