tinycc-devel
[Top][All Lists]
Advanced

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

Re: [Tinycc-devel] Is static linking functional?


From: Wendell P
Subject: Re: [Tinycc-devel] Is static linking functional?
Date: Tue, 24 Jun 2014 10:48:02 -0700

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




reply via email to

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