ICC with -cxxlib-gcc --- results in ld: /usr/lib/crtbeginS.o: No such file error

C

Col

Hi All,

I am compiling my c++ code with ICC 8.0 compiler with -cxxlib-gcc
option...But this results in
following error..

/usr/lib/crtbeginS.o : No such file: No such file or directory

Though I am including the Path for crtbeginS.o .

Code snippet--

/usr/local/packages/icc_remote/8.0.058/bin/icc -shared -Wl,-E -
i_dynamic -L/usr/lib/gcc/i386-redhat-linux/3.4.5 -cxxlib-gcc -gcc-
version=345 -o mylib.so file1.0 file2.o -lpthread -lm -lc

ld: /usr/lib/crtbeginS.o: No such file: No such file or directory
gmake: *** [mylib.so] Error 1

-L/usr/lib/gcc/i386-redhat-linux/3.4.5 contains the .o file.

~Regards
COL
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,020
Latest member
GenesisGai

Latest Threads

Top