Merci Thomas,

When I run

$ ldconfig -v 2>/dev/null | grep -v ^$'\t'

I can see that the linker by default searches directories in the order
/usr/local/lib, /lib and /usr/lib so I set the libpaths in that order:

$ ./configure
--libpaths=/usr/local/lib/arm-linux-gnueabihf:/lib/arm-linux-gnueabihf:/usr/lib/arm-linux-gnueabihf:/usr/local/lib:/lib:/usr/lib

Hopefully these directories will be in the library search path by default
in the next tcc release.

Regards,
August


On Thu, Sep 5, 2013 at 10:06 PM, Thomas Preud'homme <[email protected]>wrote:

> Le jeudi 5 septembre 2013 22:03:19 Thomas Preud'homme a écrit :
> >
> > Sorry, I should have added the code to look for it automatically like for
> > include. Just run ./configure --libpaths=/usr/lib/arm-linux-
> >
> gnueabihf:/usr/lib:/lib/arm-linux-gnueabihf:/lib:/usr/local/lib/arm-linux-
> > gnueabihf:/usr/local/lib
>
> Or rather:
>
> ./configure --libpaths=/usr/lib:/usr/lib/arm-linux-gnueabihf:/lib:/lib/arm-
> linux-gnueabihf:/usr/local/lib:/usr/local/lib/arm-linux-gnueabihf
>
> Best regards,
>
> Thomas Preud'homme
_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to