Hi, First, very thanks to Fabrice Bellard and tcc team for tinycc. :)
In order to compile tcc in my mingw with gcc 3.4.2 I made some changes in tcc.c (see patches) My mingw cause somes errors like: ---------- tcc.c:720: error: conflicting types for 'GetModuleFileNameA' c:/mingw/bin/../lib/gcc/mingw32/3.4.2/../../../../include/winbase.h:1411: error: previous declaration of 'GetModuleFileNameA' was here and tccpe.c:31: error: redefinition of `struct _XXXXXXX' ----------------- I remove de windows.h include in tcc.c and added the VirtualProtect() prototype and defines. NOTE: the Makefile.patch is for correct execution of 'make install' if you don't have texi2html and pod2man tools installed. (sorry my bad english) saludos -f
tcc.patch
Description: Binary data
Makefile.patch
Description: Binary data
_______________________________________________ Tinycc-devel mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/tinycc-devel
