[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Fwd: Re: [Tinycc-devel] Several patchs from Debian packaging]
From: |
Thomas Preud'homme |
Subject: |
Re: [Fwd: Re: [Tinycc-devel] Several patchs from Debian packaging] |
Date: |
Sun, 18 Apr 2010 20:53:57 +0200 |
User-agent: |
KMail/1.12.4 (Linux/2.6.32-3-686; KDE/4.3.4; i686; ; ) |
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