Intel® C++ Compiler for Linux* - Statically linking Intel provided libraries into your application

By default, some Intel provided libraries are linked dynamically into your application, such as libcxaguard.so. This may not be desired, if you plan to run your application on a system that does not have the Intel® C++ Compiler installed on it or you do not want to redistribute the Intel provided libraries with your application.

Use one of the following options to resolve this issue:

  • Link all libraries statically using the -static option. This may not be desired since non-Intel libraries are also linked statically, which can cause a significant increase in the size of the executable.

    OR

  • Link the Intel provided libraries using the -static-intel option. For the 9.1 compiler, use the option -i-static. All other libraries are linked using the default behavior (i.e., system libraries are dynamically linked).
Para obtener información más completa sobre las optimizaciones del compilador, consulte nuestro Aviso de optimización.