View previous topic :: View next topic |
Author |
Message |
ddijk n00b
Joined: 04 Feb 2004 Posts: 42
|
Posted: Thu Feb 05, 2004 8:59 am Post subject: how to use icc instead of gcc |
|
|
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 |
|
|
pixie Guru
Joined: 29 Dec 2002 Posts: 305
|
Posted: Thu Feb 05, 2004 11:06 am Post subject: |
|
|
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 |
|
|
|