Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Beginner
13 Views

Traying to get rid of linux libraries exes when compiling with ICC

Hi falks,

I'm traying to replace all the gnu libraries I can when compiling with ICC compiler.

For instance, I compiled a very small program placed in some intel's web pages ...

icc -c calcsin.c

icc -c main.c

icc -O3 calcsin.o main.o -o test -limf

even though I used Intel compiler and specified the -limf library and I got this inside the exe:

ldd test

libimf.so => /opt/intel/Compiler/11.1/046/lib/intel64/libimf.so (0x00002b09ccb6d000)
libm.so.6 => /lib64/libm.so.6 (0x0000003accc00000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x0000003ace800000)
libc.so.6 => /lib64/libc.so.6 (0x0000003acbc00000)
libdl.so.2 => /lib64/libdl.so.2 (0x0000003acc400000)
/lib64/ld-linux-x86-64.so.2 (0x0000003a0e400000)

Is there any way available to get rid of the these libs (libm.so.6, libgcc_s.so.1, libc.so.6, libdl.so.2, /lib64/ld-linux-x86-64.so.2) replacing then for Intel's ones ?

If it possible... can somebody tell me how or show me some usefull links to know more about this topic ?

Thanks in advance

Chuck

0 Kudos
1 Reply
Highlighted
Black Belt
13 Views

Use of the libraries provided by your linux distro is necessary for the advertised compatibility features. There are no "Intel" replacements.
0 Kudos