On Mon, Jun 10, 2002 at 05:17:06PM +0300, Official Flamer/Cabal NON-Leader wrote:
> Quoth Muli Ben-Yehuda:
> 
> > The kernel can only be compiled with ONE compiler, gcc, due to
> > extensive use of gcc'isms[1]. C++ style comments, which personally I
> 
> Errr, you're not exactly correct. It can also be compiled with the
> Intel compiler. Needs some tweaking, but can be done. Caveat - I did not
> benchmark ;-).

You're missing the footnote, which referred to the kernel being
potentially compilable with a different compiler than gcc, although I
do not think the story I read refered to the intel compiler. Time to
google... 

http://www.intel.com/software/products/compilers/c60l/clinux.htm#gnu

    * Substantial GNU C compatibility features:  The Intel C++
Compiler 6.0 for Linux is substantially source and object code
compatible with GNU C. ... The Intel C++ Compiler 6.0 for Linux
includes language features that provide the capability to build the
Linux kernel with some minor modifications. For more information
regarding gcc compatibility and Linux kernel build, please refer to:
Intel? Compilers for Linux*  
-Compatibility with the GNU Compilers.

Ahh, the story I recalled is this one: 
http://developers.slashdot.org/article.pl?sid=02/05/11/1856245&mode=thread&tid=156

Apparently, the compiler front end from EDG mentioned in the story,
which can compile the kernel in gnu compatibility mode, is also behind
the intel compiler. 

Amusing, instead of the kernel adapting to other compilers, the
compilers adapt to the kernel by emulating gcc features (and even
bugs). 
-- 
Highday 19 Forelithe 7466

http://vipe.technion.ac.il/~mulix/
http://syscalltrack.sf.net/

Attachment: msg19937/pgp00000.pgp
Description: PGP signature

Reply via email to