aboutsummaryrefslogtreecommitdiff
path: root/win32/build-tcc.bat
diff options
context:
space:
mode:
authorYX Hao <lifenjoiner@163.com>2013-09-19 21:50:38 +0800
committerYX Hao <lifenjoiner@163.com>2013-09-19 21:50:38 +0800
commit642b6d0f50c6b6a842c9239a102fe34d5619e931 (patch)
tree60ca755ef6d92565ce21a9d4ca9baf8ebd146a0a /win32/build-tcc.bat
parent76cb1144ef91924c53c57ea71e6f67ce73ce1cc6 (diff)
downloadtinycc-642b6d0f50c6b6a842c9239a102fe34d5619e931.tar.gz
tinycc-642b6d0f50c6b6a842c9239a102fe34d5619e931.tar.bz2
Add the possibility to use noname functions by ordinal
tcc.c: process.h:177:20: note: expected 'char * const*' but argument is of type 'char const*const*' tccpe.c: Add the possibility to use noname functions by ordinal. use def file: "AliasName @n" build-tcc.bat: 1. Enable 32 bits mode on 64 bits OS. 2. build doc. _parseLibs.bat: Convenient to use "*.def + *.c" instead of *.a, just use -l* _tcc.bat: a practice of _parseLibs.bat Signed-off-by: YX Hao <lifenjoiner@163.com>
Diffstat (limited to 'win32/build-tcc.bat')
-rw-r--r--win32/build-tcc.bat9
1 files changed, 8 insertions, 1 deletions
diff --git a/win32/build-tcc.bat b/win32/build-tcc.bat
index 5bc5585..772ed26 100644
--- a/win32/build-tcc.bat
+++ b/win32/build-tcc.bat
@@ -5,7 +5,7 @@
@set /p VERSION= < ..\VERSION
echo>..\config.h #define TCC_VERSION "%VERSION%"
-@if _%PROCESSOR_ARCHITEW6432%_==_AMD64_ goto x86_64
+@rem @if _%PROCESSOR_ARCHITEW6432%_==_AMD64_ goto x86_64
@if _%PROCESSOR_ARCHITECTURE%_==_AMD64_ goto x86_64
@set target=-DTCC_TARGET_PE -DTCC_TARGET_I386
@@ -58,3 +58,10 @@ tiny_libmaker lib/libtcc1.a libtcc1.o alloca86_64.o crt1.o wincrt1.o dllcrt1.o d
:the_end
del *.o
+
+:makedoc
+echo>..\config.texi @set VERSION %VERSION%
+if not exist doc md doc
+makeinfo --html --no-split -o doc\tcc-doc.html ../tcc-doc.texi
+if exist tcc-win32.txt move tcc-win32.txt doc\
+copy ..\tests\libtcc_test.c examples\