Hello,
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,
Vittorio

_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to