|
From: | KHMan |
Subject: | Re: [Tinycc-devel] "_winstart not defined" |
Date: | Sat, 10 Feb 2018 17:26:34 +0800 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 |
On 2/10/2018 5:07 PM, Daemon Magic wrote:
Try to use your mingw-built tcc to compile your test.c example, if it compiles w/o errors, your tcc built with itself has some problems.
I don't have any experience using a Win32 tcc, so I'll leave it to those who have done so to respond. If there is a symbol missing, I tend to think it is a header file or linker issue.
That said, tcc version 0.9.27 was released on Dec 17, 2017, and it appears that there are Windows executables available in the download section:
https://savannah.nongnu.org/projects/tinycc
2018-02-10 7:09 GMT+02:00 k2tom: My original "current release" of 0.9.25 came from tcc-0.9.25.tar.bze(5/20/2009). (This has the sources.. but NOT the binaries.) I used MinGWto build TCC from those sources. Then I used this newly-minted TCC to build a newer TCC from the sources. (I just wanted to verify that one could in fact use TCC to compile ITSELF.) The program I'm trying to compile is test.c, take verbatim from the Forger's Tutorial. And the exact command line I'm using is: prompt> *tcc -o test.exe test.c -mwindows* tcc: _winstart not defined Tom
-- Cheers, Kein-Hong Man (esq.) Selangor, Malaysia
[Prev in Thread] | Current Thread | [Next in Thread] |