I'm trying to hack ICC 9.1.045 ia32 (using lang/icc port for ICC 8). I can't compile hello world ;-(

icc  -c main.c
icc   -o main main.o
IPO link: can not find -ldl
iccbin: error: problem during multi-file optimization compilation (code 1)
*** Error code 1

If I specify CFLAGS=-ipo for ICC 8 then I have the same error:

make CC=icc CFLAGS=
icc  -c main.c
icc   -o main main.o
(no errors here)

make clean

make CFLAGS=-ipo
icc -ipo -c main.c
icc -ipo  -o main main.o
IPO link: can not find -ldl
iccbin: error: problem during multi-file optimization compilation (code 1)
*** Error code 1

May be /usr/local/intel_cc_80/bin/ldwrapper/ld don't work?
-Qlocation,ld,/usr/local/intel_cc_80/bin/ldwrapper is present in ICC cfg. file in both cases.

Any ideas?
Thanks.

icc -v
Version 9.1

FreeBSD 6.2-PRERELEASE #0: Thu Dec 14 15:55:03 MSK 2006
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to