Default Libraries

The following libraries are supplied with the Intel® C++ Compiler:

Library Description
libguide.a
libguide.so
For OpenMP* implementation
libguide_stats.a
libguide_stats.so
OpenMP static library for the parallelizer tool with performance statistics and profile information
libompstub.a Library that resolves references to OpenMP subroutines when OpenMP is not in use
libsvml.a Short vector math library
libirc.a Intel support library for PGO and CPU dispatch
libircmt.a Mulit-thread version on libirc.a
libimf.a
libimf.so
Intel math library
libcprts.a
libcprts.so
libcprts.so.3
Dinkumware* C++ Library
libunwind.a
libunwind.so
libunwind.so.3
Unwinder library
libcxa.a
libcxa.so
libcxa.so.3
Intel run time support for C++ features
libcxaguard.a
libcxaguard.so
libcxaguard.so.3
Used for interoperability support with the -cxxlib-gcc option.
See gcc Interoperability.

When you invoke the -cxxlib-gcc option, the following replacements occur:

If you want to link your program with alternate or additional libraries, specify them at the end of the command line. For example, to compile and link prog.cpp with mylib.a, use the following command:

prompt>icpc prog.cpp mylib.a

The mylib.a library appears prior to the libimf.a library in the command line for the ld linker.

Caution

The Linux* system libraries and the compiler libraries are not built with the -align option.  Therefore, if you compile with the -align option and make a call to a compiler distributed or system library, and have long long, double, or long double types in your interface, you will get the wrong answer due to the difference in alignment.  Any code built with -align cannot make calls to libraries that use these types in their interfaces unless they are built with -align (in which case they will not work without -align).

Math Libraries

The Intel math library, libimf.a, contains optimized versions of math functions found in the standard C run-time library. The functions in libimf.a are optimized for program execution speed on Intel® Pentium® III and Pentium 4 processors. The Itanium® compiler also includes a libimf.a designed to optimize performance on Itanium-based systems. The Intel math library is linked by default.

See Managing Libraries and Intel Math Library.