[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Tinycc-devel] patchs for mingw (gcc 3.4.2)
From: |
federico luna |
Subject: |
[Tinycc-devel] patchs for mingw (gcc 3.4.2) |
Date: |
Fri, 13 Oct 2006 16:06:56 -0300 |
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] patchs for mingw (gcc 3.4.2),
federico luna <=