[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Tinycc-devel] libtcc win32
From: |
Christophe Faure |
Subject: |
[Tinycc-devel] libtcc win32 |
Date: |
Fri, 04 Dec 2009 10:09:38 +0100 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.1.23) Gecko/20090812 Lightning/0.9 Thunderbird/2.0.0.23 ThunderBrowse/3.2.6.7 Mnenhy/0.7.5.0 |
It is possible to use libtcc for a program compiled with tcc under win32.
If we use the standard script win32 (build_tcc.bat) libtcc.a is only
usable for gcc and not tcc.
If we use a modified version of the build_tcc.bat script like the folowing :
:libtcc
copy ..\libtcc.h include\libtcc.h
copy ..\tests\libtcc_test.c examples
.\tcc.exe -c ..\libtcc.c -o libtcc.o -I..
.\tiny_libmaker.exe lib\libtcc.a libtcc.o
after we can test with
tcc -o testlibtcc.exe examples\libtcc_test.c -ltcc
and it works at least for the small test i did !
(i've tested with the latest master)
- [Tinycc-devel] libtcc win32,
Christophe Faure <=