Le dimanche 18 avril 2010 20:29:13, mobi phil a écrit :
> 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."
> 
It should be easy to fix. I'll work on that within a week.

Cheers


_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to