order of directories passed with -L

Vincent Torri vtorri@univ-evry.fr
Thu Mar 8 09:57:00 GMT 2007


Hey,

Suppose that I pass those arguments to gcc :

-Lpath1 -llib1 -Lpath2 -llib2 -L path3 -llib3

In which directory(ies) will gcc search lib1, lib2 and lib3 ?

(gcc man page didn't help me)

thank you

Vincent Torri



More information about the Gcc-help mailing list