Search code examples
gccstatic-librariesintelicc

ICC library search options


GNU compilers use -llib options to link with libs, is there something similar in icpc?
(I already have specified the -L option to add my lib in the search path).


Solution

  • icpc, or any other compiler as far as I know, uses the same option to link libraries, so just use -llib with icpc as well