Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
7 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
Highlighted
Black Belt
7 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
Highlighted
Moderator
7 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