Here is my basic configuration of gentoo-icc:
/etc/make.conf
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
#CFLAGS="-O2 -march=i686 -pipe"
#CXXFLAGS="${CFLAGS}"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="i686-pc-linux-gnu"
USE="symlink -X -doc -ipv6"
MAKEOPTS="-j2"
FEATURES="parallel-fetch"
# ICC (no optimizations)
CC="icc"
CXX="icpc"
CFLAGS="-O2 -no-gcc -w -opt-report-file=/dev/null -fPIC"
CXXFLAGS="$CFLAGS"
PORTDIR_OVERLAY="/usr/local/portage-icc"
/etc/env.d/10icc
PATH="/opt/intel/Compiler/11.1/056/bin/ia32/"
ROOTPATH="/opt/intel/Compiler/11.1/056/bin/ia32"
LDPATH="/opt/intel/Compiler/11.1/056/lib/ia32"
Icc
dev-lang/icc-11.1.056-r1
USE="idb -eclipse -ipp -mkl"
Some packages already compile fine with this configuration but others need either ebuild changes or patches or both. I am going to post these in an seperate thread for my overlay.