build: Support tcc, create tinycc-seed with tcc.
authorJan Nieuwenhuizen <janneke@gnu.org>
Sun, 24 Jun 2018 07:28:23 +0000 (09:28 +0200)
committerJan Nieuwenhuizen <janneke@gnu.org>
Sun, 24 Jun 2018 07:28:23 +0000 (09:28 +0200)
commit350d94aa77d28ec27857e3738f57b0cd69005657
treef7666b137c7d4201b124fc1ff19f6f63c54cb44d
parentc2ff5ec954e4bd025db3353cb6643b6767d79901
build: Support tcc, create tinycc-seed with tcc.

* configure: check for tcc.
* build-aux/cc32-mes.sh: Rename from cc-mes-gcc.sh.  Support
  tcc.  Update users.
* build-aux/build-cc32-mes.sh: Rename from build-mes-gcc.sh.  Update users.
* GNUmakefile (mes-tcc): New target.
* .gitignore: Ignore mes-tcc arch output.
* lib/crt1.c (_start): Add "rm" constraint so satisfy tcc.
* lib/linux-gcc.c (_sys_call, _sys_call1 _sys_call2 _sys_call3): Likewise.
13 files changed:
.gitignore
GNUmakefile
build-aux/build-cc32.sh [new file with mode: 0755]
build-aux/build-mes-gcc.sh [deleted file]
build-aux/cc-mes-gcc.sh [deleted file]
build-aux/cc32-mes.sh [new file with mode: 0755]
build-aux/test.sh
build.sh
configure
lib/crt1.c
lib/libtcc1.c
lib/linux-gcc.c
lib/linux-mini-gcc.c