diff options
| author | grischka <grischka> | 2012-04-18 18:32:37 +0200 |
|---|---|---|
| committer | grischka <grischka> | 2012-04-18 18:32:37 +0200 |
| commit | 4274c44de7dfb99a1058a5af515e9865cc9d2ff9 (patch) | |
| tree | 38ad25b730bd4c3725413308e420dd33965f89d2 /win32/build-tcc.bat | |
| parent | 214564b1dc76b8f29ef49dd13af429f6d05d3d64 (diff) | |
| download | tinycc-4274c44de7dfb99a1058a5af515e9865cc9d2ff9.tar.gz tinycc-4274c44de7dfb99a1058a5af515e9865cc9d2ff9.tar.bz2 | |
tcc.c: fix previous commit "Use CString to concat linker options"
- remove redunant else branch
- zero-terminate linker_arg
- declare cstr_xxx as PUB_FUNC
(which are functions used in tcc.c but not in the libtcc API.
Useful for a tcc(.exe) that uses the libtcc.(so/dll))
- while at it, export PUB_FUNCs from dll
Diffstat (limited to 'win32/build-tcc.bat')
| -rw-r--r-- | win32/build-tcc.bat | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/build-tcc.bat b/win32/build-tcc.bat index aceecb7..21bf3a8 100644 --- a/win32/build-tcc.bat +++ b/win32/build-tcc.bat @@ -34,7 +34,7 @@ copy ..\libtcc.h libtcc\libtcc.h tiny_impdef libtcc.dll -o lib/libtcc.def :tcc -%CC% %target% -DONE_SOURCE ../tcc.c -o tcc.exe -ltcc -Llibtcc +%CC% %target% ../tcc.c -o tcc.exe -ltcc -Llibtcc :copy_std_includes copy ..\include\*.h include |
