tinycc-devel
[Top][All Lists]
Advanced

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

[Tinycc-devel] How to make mingw-w64 header files work with tcc ?


From: Cooky Isager
Subject: [Tinycc-devel] How to make mingw-w64 header files work with tcc ?
Date: Wed, 4 Nov 2015 11:45:29 +0800

I cloned source from [ git://repo.or.cz/tinycc.git ] ,
built it with mingw gcc from msys2,
and built tcc with tcc itself successfully.

os : windows 7 sp1 64 bit

build 32 bit tcc.

Everything works well but I need more windows headers ,,,
I try to use mingw-w64 headers but always get errors like this :
In file included from examples/hello_win.c:7:
In file included from d:/tcc-win32/include/winapi/windows.h:69:
In file included from d:/tcc-win32/include/winapi/windef.h:8:
d:/tcc-win32/include/winapi/minwindef.h:24: error: ';' expected (got "ULONG")
I try to modify _mingw.h, but similar error wiil appear on other headers ...

Is there any way to fix this ?

Sorry for my bad English. T_T

reply via email to

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