On Mon, Jun 23, 2014, at 02:15 PM, Daniel Glöckner wrote:
> On Mon, Jun 23, 2014 at 12:07:45PM -0700, Wendell P wrote:
> >     tcc -static app.c lib.a
> Instructs TinyCC to use only static libraries, even for implicitly
> linked libraries like msvcrt.

Thank you. Now I see my problem. From the docs, I misunderstood the role
of the "-static" switch. I thought it *allows* linking a static library.
Actually, it *prevents* linking any dynamic library. So, when "-static"
is used, TCC stops at the first failure to find a required static
library.

-- 
http://www.fastmail.fm - Email service worth paying for. Try it for free


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

Reply via email to