Grischka, FYI The link on http://download.savannah.nongnu.org/releases/tinycc/ is not working => 404
C. -----Original Message----- From: Tinycc-devel [mailto:tinycc-devel-bounces+eligis=orange...@nongnu.org] On Behalf Of grischka Sent: samedi 10 février 2018 18:32 To: tinycc-devel@nongnu.org Subject: Re: [Tinycc-devel] "_winstart not defined" k2tom wrote: > tcc -o test.exe test.c -mwindows -mwindows nas no effect. TCC will create a GUI executable automatically if there is a WinMain function. > tcc: _winstart not defined I suspect the libtcc1.a that you once did build yourself is missing files. See http://lists.gnu.org/archive/html/tinycc-devel/2011-12/msg00001.html Anyway, as requested earlier by some people already I did upload the rest of the full mingw winapi headers: http://download.savannah.nongnu.org/releases/tinycc/ With this tcc should work for most of that "Forger's Win32API Tutorial". Here the "app_three" example (with resource): $ cd app_three $ windres app_three.rc -O coff -o rc.o $ tcc -v app_three.c rc.o -I ..\winapi-full-for-0.9.27\include\winapi -lcomdlg32 -lcomctl32 tcc version 0.9.27 (i386 Windows) -> app_three.c -> rc.o <- app_three.exe (7168 bytes) Instead of using -I the headers may be copied to the tcc installation as well. -- gr _______________________________________________ Tinycc-devel mailing list Tinycc-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tinycc-devel _______________________________________________ Tinycc-devel mailing list Tinycc-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tinycc-devel