Two quick notes;
The thread topic is about tcc - so here we are interested in the compiler's search paths.
Question: does tcc support a --static option?
My mention of the runtime loader (which also uses the library files mentioned) is a related issue, but in that case the application would generate an error message when run, not while it was being compiled.
Hmm...
There is a (rarely used) way to poke the runtime loader so that it reports what it is doing, but I have forgotten the details, I will need a bit of RTFM to re-learn that trick.
|