[Top][All Lists]

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

[Tinycc-devel] library search path

From: Vittorio Giovara
Subject: [Tinycc-devel] library search path
Date: Mon, 9 Sep 2013 15:20:52 +0200

I'm trying to use tcc to compile my application but I get linking
errors because of conflicting directories.
In my current setup I have the main source file in the source root and
then a few libraries inside subfolders.
At link time I pass -Lsubfolder -lthelib as first arguments.
Everything goes smooth if I run this in a clean install.
However if I have libthelib.a in one of the default search path (eg in
/usr/local/lib) the local one will not be picked, and instead the one
present in the default search path will be linked.
I fear that tcc is not respecting the user library search order, but I
found no flags that allow modifying it.
Can anyone help me in this problem?
Thank you,

reply via email to

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