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

Recompile Libraries?

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
Black Belt
78 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.
JenniferJ
Moderator
78 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
Reply