[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: Thomas Preud'homme
Subject: Re: [Tinycc-devel] How do I make tcc search for libraries in /usr/lib?
Date: Thu, 05 Sep 2013 22:03:19 +0200
User-agent: KMail/4.10.5 (Linux/3.10-2-amd64; KDE/4.10.5; x86_64; ; )

Le jeudi 5 septembre 2013 21:37:53 August Karlstrom a écrit :
> On my Raspberry PI computer I have compiled the tcc compiler from source
> (in /usr/local/src). When I link with a library in /usr/lib, tcc cannot
> find it so I need to add -L/usr/lib to the tcc command. How do I
> configure and make tcc to include /usr/lib in its library path?
> address@hidden /usr/local/src/tcc-0.9.26 $ tcc -vv
> tcc version 0.9.26 (ARM Hard Float Linux)
> install: /usr/local/lib/tcc/
> crt:
>    /usr/lib/arm-linux-gnueabihf
> libraries:
>    /usr/lib/arm-linux-gnueabihf
>    /lib/arm-linux-gnueabihf
>    /usr/local/lib/arm-linux-gnueabihf
> include:
>    /usr/local/include
>    /usr/local/include/arm-linux-gnueabihf
>    /usr/include
>    /usr/include/arm-linux-gnueabihf
>    /usr/local/lib/tcc/include
> elfinterp:
>    /lib/ld-linux-armhf.so.3

Sorry, I should have added the code to look for it automatically like for 
include. Just run ./configure --libpaths=/usr/lib/arm-linux-

Best regards,


Attachment: signature.asc
Description: This is a digitally signed message part.

reply via email to

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