|
From: | grischka |
Subject: | Re: [Tinycc-devel] tcc version 0.9.25 under Windows XP: "-static"doesn't work at all |
Date: | Fri, 13 Aug 2010 23:32:06 +0200 |
User-agent: | Thunderbird 2.0.0.23 (Windows/20090812) |
Wenzel wrote:
tcc -static -Le:\tcc\lib -lgdi32 -lkernel32 -lmsvcrt -luser32 test.c -o test.exe
Do not use -static on windows. It makes little sense and was never tested. The type of linkage (static or dynamic) depends exclusively on the type of the library. You can link with static libraries created by tcc and with dlls created by any compiler. See also tcc-win32.txt. --- grischka
[Prev in Thread] | Current Thread | [Next in Thread] |