Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

compiling linux kernel with non-gcc

Linux kernel is written for compiling with gcc and uses a lot of small and ugly gcc-hacks. Which compilers can compile linux kernel except gcc?

The one, which can, is the Intel Compiler. What minimal version of it is needed for kernel compiling?

There also was a Tiny C compiler, but it was able to compile only reduced and specially edited version of the kernel.

Is there other compilers capable of building kernel?

like image 850
osgx Avatar asked Feb 25 '10 13:02

osgx


1 Answers

An outdatet information: you need to patch the kernel in order to compile using the Intel CC Download Linux kernel patch for Intel® Compiler

See also Is it possible to compile Linux kernel with something other than gcc for further links and information

On of the most recent sources :http://forums.fedoraforum.org/showthread.php?p=1328718

like image 138
stacker Avatar answered Oct 01 '22 17:10

stacker