Noeud:Linking and Libraries, Noeud « Next »:, Noeud « Previous »:Standard Compilation Options, Noeud « Up »:Reference Section



Linking and Libraries

-lname Include library libname.so if it exists; if libname.so doesn't exist, search for libname.a.
-Ldirectory search directory directory for library files. Used with -l.
-static indicate that static libraries should be linked instead of shared libraries.