Discussion:
[gentoo-user] Using Intel's icc to compile the whole system?
(too old to reply)
Alexander Skwar
2005-08-04 18:30:41 UTC
Permalink
Hi!

Is it possible to compile the complete system with the
icc from the Intel C++ Compiler?

Are there any (performance) gains to be expected on a
system using a Celeron M340 CPU?

Thanks,

Alexander Skwar
--
BOFH Excuse #69:

knot in cables caused data stream to become twisted and kinked
--
gentoo-***@gentoo.org mailing list
Willie Wong
2005-08-04 19:30:10 UTC
Permalink
Post by Alexander Skwar
Hi!
Is it possible to compile the complete system with the
icc from the Intel C++ Compiler?
afaik, no. Too many things rely on gcc-specific extensions.
BUT! if you add "icc" to your USEflags, portage will compile things
with icc whenever the compile is known not to break. (=
Post by Alexander Skwar
Are there any (performance) gains to be expected on a
system using a Celeron M340 CPU?
Most likely. I remember seeing benchmarks showing that gcc is
dead-slow compared to icc. But then again, other benchmarks can show
comparable performance. My only advice is to try it out if you really
want to know.

W
Post by Alexander Skwar
Thanks,
Alexander Skwar
--
knot in cables caused data stream to become twisted and kinked
--
--
A fine is a tax for doing wrong.
A tax is a fine for doing well.
Sortir en Pantoufles: up 4 days, 2:41
--
gentoo-***@gentoo.org mailing list
Willie Wong
2005-08-04 19:50:10 UTC
Permalink
Post by Willie Wong
Post by Alexander Skwar
Hi!
Is it possible to compile the complete system with the
icc from the Intel C++ Compiler?
afaik, no. Too many things rely on gcc-specific extensions.
BUT! if you add "icc" to your USEflags, portage will compile things
with icc whenever the compile is known not to break. (=
scratch that. You also need to set the $CC yourself plus a lot of
hocuspocus. Check
http://www.google.com/url?sa=U&start=1&q=http://gentoo-wiki.com/HOWTO_ICC_and_Portage&e=912
Post by Willie Wong
Post by Alexander Skwar
Are there any (performance) gains to be expected on a
system using a Celeron M340 CPU?
Most likely. I remember seeing benchmarks showing that gcc is
dead-slow compared to icc. But then again, other benchmarks can show
comparable performance. My only advice is to try it out if you really
want to know.
W
Post by Alexander Skwar
Thanks,
Alexander Skwar
--
knot in cables caused data stream to become twisted and kinked
--
--
A fine is a tax for doing wrong.
A tax is a fine for doing well.
Sortir en Pantoufles: up 4 days, 2:41
--
--
"The major difference between a thing that might go wrong
and a thing that cannot possibly go wrong is that when a
thing that cannot possibly go wrong goes wrong it usually
turns out to be impossible to get at or repair."

- One of the laws of computers and programming revealed.
Sortir en Pantoufles: up 4 days, 2:55
--
gentoo-***@gentoo.org mailing list
Alexander Skwar
2005-08-05 04:50:05 UTC
Permalink
Post by Willie Wong
Post by Willie Wong
Post by Alexander Skwar
Hi!
Is it possible to compile the complete system with the
icc from the Intel C++ Compiler?
afaik, no. Too many things rely on gcc-specific extensions.
BUT! if you add "icc" to your USEflags, portage will compile things
with icc whenever the compile is known not to break. (=
scratch that. You also need to set the $CC yourself plus a lot of
hocuspocus. Check
http://www.google.com/url?sa=U&start=1&q=http://gentoo-wiki.com/HOWTO_ICC_and_Portage&e=912
Hey, nice howto! I'll try to setup an icc system then.

Too bad, that some of the large packages like xorg don't
compile with icc :(

Cheers,

Alexander Skwar
--
Got protoplasm?
--
gentoo-***@gentoo.org mailing list
Loading...