Skip to contentSkip to conversation

Intel C++ compiler?

DISCUSSION Henrik Andersen 5 participants 6 messages Jan 20, 2003

lore
Share & tools
lore
#0 lore raw

Does Intels C++ compiler for Linux works fine for compiling the Linux kernel? It is not 100% compatible, as far as I know. Which advantages does the Intel compiler brings compared to gcc? faster speed? Other things?

Thanks in advance

#1 lore raw
Quoted 2 lines

Does Intels C++ compiler for Linux works fine for compiling the Linux kernel? It is not 100% compatible, as far as I know.

I doubt it - Linux makes extensive use of GCC compiler extensions.

Quoted 2 lines

Which advantages does the Intel compiler brings compared to gcc? faster speed? Other things?

In theory it might be slightly faster, however GCC is a fairly good compiler on i386 anyway.

John.

#2 lore raw
Quoted 4 lines · John Bradford
Quoted 2 lines

Does Intels C++ compiler for Linux works fine for compiling the Linux kernel? It is not 100% compatible, as far as I know.

I doubt it - Linux makes extensive use of GCC compiler extensions.

I doubt your doubting. It works.

Jeff

#3 lore raw
Quoted 6 lines
Quoted 4 lines
Quoted 2 lines

Does Intels C++ compiler for Linux works fine for compiling the Linux kernel? It is not 100% compatible, as far as I know.

I doubt it - Linux makes extensive use of GCC compiler extensions.

I doubt your doubting. It works.

I'm suprised. Sorry once again for the mis-information, (heh, but at least it was on-topic, which is somewhat amasing for this mailing list :-) ). Is there a concious effort to make it compile the kernel, or are they aiming for general GCC compliance?

John.

#4 lore raw
Quoted 11 lines · you [John Bradford]
Quoted 6 lines
Quoted 4 lines
Quoted 2 lines

Does Intels C++ compiler for Linux works fine for compiling the Linux kernel? It is not 100% compatible, as far as I know.

I doubt it - Linux makes extensive use of GCC compiler extensions.

I doubt your doubting. It works.

I'm suprised. Sorry once again for the mis-information, (heh, but at least it was on-topic, which is somewhat amasing for this mailing list :-) ). Is there a concious effort to make it compile the kernel, or are they aiming for general GCC compliance?

I guess both. See

http://lists.insecure.org/lists/linux-kernel/2002/Oct/6450.html

Also, Intel has for long aimed to make icc on Linux to be as gcc compliant as possible.

-- v --

[email protected]

#5 lore raw
In reply to John Bradford
Quoted 2 lines

In theory it might be slightly faster, however GCC is a fairly good compiler on i386 anyway.

Hmm, i've seen comparative tests with gcc3.2 and the latest intel c++ compiler. gcc had better results with most of the tests, but not all of them.
I wish i could give a link without searching.

regards,
Maciej