[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tinycc-devel] How do I make tcc search for libraries in /usr/lib?

From: August Karlstrom
Subject: Re: [Tinycc-devel] How do I make tcc search for libraries in /usr/lib?
Date: Fri, 6 Sep 2013 11:01:50 +0200

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.


On Thu, Sep 5, 2013 at 10:06 PM, Thomas Preud'homme <address@hidden> 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-

Best regards,

Thomas Preud'homme

reply via email to

[Prev in Thread] Current Thread [Next in Thread]