Does others compilers really make -L override the search path for libraries
?

> Because to me when I add a -L gcc is still able to load libc.so and all the
> libraries this ld script links.
>
> But to answer your question, indeed this patch doesn't change this
> behavior.
>
>
sorry... it is about priority... If you add -L/newsys/lib and libc.so is in
the newsys then libc.so from newsys is picked. It

from man ld:

"Directories specified on the command line are searched before the default
directories."




-- 
rgrds,
mobi phil

being mobile, but including technology
http://mobiphil.com
_______________________________________________
Tinycc-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to