tcctools.c: integrate tiny_libmaker/_impdef
commit2d3b9559bf569f137cefb7f8386a0dc58e33c81f
authorgrischka <grischka>
Sat, 18 Feb 2017 08:55:34 +0000 (18 09:55 +0100)
committergrischka <grischka>
Sat, 18 Feb 2017 08:55:34 +0000 (18 09:55 +0100)
tree4da5267d5dd1bf907bdf82d7065c751a05757e6e
parentf34b1feaca557cd9da198610b67d4328fb0c7a84
tcctools.c: integrate tiny_libmaker/_impdef

usage:
    tcc -ar [rcsv] lib files...
    tcc -impdef lib.dll [-v] [-o lib.def]

also:
- support more files with -c: tcc -c f1.c f2.c ...
- fix a bug which caused tcc f1.c f2.S to produce no asm
- allow tcc -ar @listfile too
- change prototype: _void_ tcc_set_options(...)
- apply -Wl,-whole-archive when a librariy is given
  as libxxx.a also (not just for -lxxx)
17 files changed:
Changelog
Makefile
TODO
conftest.c
lib/Makefile
libtcc.c
libtcc.h
tcc.c
tcc.h
tccasm.c
tccpe.c
tcctools.c [new file with mode: 0644]
tests/tcctest.c
win32/build-tcc.bat
win32/tcc-win32.txt
win32/tools/tiny_impdef.c [deleted file]
win32/tools/tiny_libmaker.c [deleted file]