Here's how I got it going. It's the -no-cxxlib that was crucial. Note that we don't use GCC anywhere in here.

ICC='/opt/intel/cce/10.0.023'
CC="$ICC/bin/icc -no-cxxlib"

# Turn off certain warnings
CCFLAGS="$CCFLAGS -wd810" # conversion from "x" to "y" may lose significant bits
CCFLAGS="$CCFLAGS -wd981"   # operands evaluated in unspecified order
CCFLAGS="$CCFLAGS -wd279"   # controlling expression is constant
CCFLAGS="$CCFLAGS -wd1419" # external declaration in primary source file CCFLAGS="$CCFLAGS -wd1418" # external definition with no prior declaration CCFLAGS="$CCFLAGS -wd1684" # conversion from pointer to same-sized integral type (potential portability problem)
CCWARN="-Wall"

perl Configure.pl \
    --cc="$CC" \
    --cxx="$CC" \
    --link="$CC" \
    --ld="$CC" \
    --ccflags="$CCFLAGS" \
    --ccwarn="$CCWARN" \

I'm working on linker hints right now.

--
Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance




Reply via email to