This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
order of directories passed with -L
- From: Vincent Torri <vtorri at univ-evry dot fr>
- To: gcc-help at gcc dot gnu dot org
- Date: Thu, 8 Mar 2007 08:51:21 +0100 (CET)
- Subject: order of directories passed with -L
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