This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

remove library path from


Hi!

Is there any option to remove library serach directory from list?

For example,

$ gcc foo.c -L/i/dont/like/this/dir/ -ldontfindme 

and libdontfindme.so is located in /i/dont/like/this/dir/, however,
consider this as some configure test, and expects to fail.
(configure test for whether or not to add -lxxx)

There were many way to add search dirs, but I could not find an option
to remove search dirs.

Is there something like -Lno<DIR> ?


Thanks in Advance,

(Hiroki Kaminaga)
t
--


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]