Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
how to use icc instead of gcc
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
ddijk
n00b
n00b


Joined: 04 Feb 2004
Posts: 42

PostPosted: Thu Feb 05, 2004 8:59 am    Post subject: how to use icc instead of gcc Reply with quote

I have an SMP Intel machine (dual Xeon). Does anyone know of performance improvements when compiling the kernel with Intel's icc instead of the default gcc? Is it recommended to compile with icc? How do you specifiy to use icc in the installation procedure?
( I include "icc" in my USE flags, but it looks like gcc is used al the time). In the USE flags chapter it says that icc is used "when the package supports it". Does that mean that icc can not be used for compiling the kernel?

Dick
Back to top
View user's profile Send private message
pixie
Guru
Guru


Joined: 29 Dec 2002
Posts: 305

PostPosted: Thu Feb 05, 2004 11:06 am    Post subject: Reply with quote

Not many things use the ICC & IFC flags.

To get it to work with portage you want these lines to set ICC as the system compiler.
Code:
export AR=xiar
export LD=xild
export CC=icc
export CXX=icc


and for IFC

Code:
export FC=ifc
export FF=ifc
export FORTRAN=ifc
export F77=ifc



Search for ICC there are a few threads on here that will help.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum