Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.

Recompile Libraries?

vrennert
Beginner
273 Views
Is it recomendable to recompile the dependent libraries of a project with ICC in order to gain performance improvement across all steps or doesn't this make any diffrence when i am compiling only the target project with ICC?

Regards
Viktor
0 Kudos
2 Replies
mecej4
Honored Contributor III
273 Views
If (i) the code in the libraries gets pulled into the executable by the linker, (ii) the executable spends a significant fraction of its run time in the library code, and (iii) the library code is not already optimized: definitely yes.
0 Kudos
JenniferJ
Moderator
273 Views
Yes, it is the right thing to do. And icc is compatible with other compilers like gcc or VC, so it is supported as well.

Jennifer
0 Kudos
Reply