mescc: Tinycc support: compile tcc with TCC_IS_NATIVE.
authorJan Nieuwenhuizen <janneke@gnu.org>
Fri, 28 Jul 2017 06:07:41 +0000 (08:07 +0200)
committerJan Nieuwenhuizen <janneke@gnu.org>
Fri, 28 Jul 2017 06:07:41 +0000 (08:07 +0200)
commitce980c82399a6f7ad0966ae666fba5c1b5c91a3f
tree1b03dfd9ac774d9b0858e0b391237ed6cbcabcc4
parent397d7a6c4387fb02a77289dee3e98e6472db9e99
mescc: Tinycc support: compile tcc with TCC_IS_NATIVE.

* mlibc/include/string.h (strcat): Declare.
* mlibc/libc-mes+tcc.c (dlclose, dlopen, mprotect, sigaction,
  sigemptyset, strcat, vfprintf): Move from libc-gcc+tcc.c.
* mlibc/libc-gcc+tcc.c: Remove them.
* module/language/c99/compiler.mes (c99-input->full-ast): Define __i386__=1.
  (i386:type-alist): Parse `long long int', `unsigned short int',
  `unsigned long long int'.
  (struct-field): Support void**.
  (init-declr->name):
  (init-declr->pointer): Support function declaration.
mlibc/include/string.h
mlibc/libc-gcc+tcc.c
mlibc/libc-mes+tcc.c
module/language/c99/compiler.mes