remove library path from

Hiroki Kaminaga kaminaga@sm.sony.co.jp
Tue Jun 19 11:16:00 GMT 2007


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
--



More information about the Gcc-help mailing list