Jan Nieuwenhuizen
|
ce980c8239
|
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.
|
2017-07-28 08:07:41 +02:00 |
|
Jan Nieuwenhuizen
|
fd63f744f7
|
mescc: Tinycc support: strstr stub.
* mlibc/include/string.h (strstr): Declare.
* mlibc/libc-mes+tcc.c (strstr): Add stub.
|
2017-07-26 11:36:45 +02:00 |
|
Jan Nieuwenhuizen
|
60de51241a
|
mescc: Tinycc support: strrchr stub.
* mlibc/include/string.h (strrchr): Declare.
* mlibc/libc-mes+tcc.c (strrchr): Add stub.
|
2017-07-26 11:36:45 +02:00 |
|
Jan Nieuwenhuizen
|
ecf0fb50b1
|
mescc: Tinycc support: strchr stub.
* mlibc/include/string.h (strchr): Declare.
* mlibc/libc-mes+tcc.c (strchr): Add stub.
|
2017-07-26 11:36:44 +02:00 |
|
Jan Nieuwenhuizen
|
5c338ef705
|
mescc: Tinycc support: memmove stub.
* mlibc/include/string.h (memcmp): Declare.
* mlibc/libc-mes+tcc.c (memcmp): Add stub.
|
2017-07-26 11:36:44 +02:00 |
|
Jan Nieuwenhuizen
|
6c7d26fa1c
|
mescc: Tinycc support: memset stub.
* mlibc/include/string.h (memset): Declare.
* mlibc/libc-mes+tcc.c (memset): Add stub.
|
2017-07-26 11:36:44 +02:00 |
|
Jan Nieuwenhuizen
|
8f7b47ef36
|
mescc: Tinycc support: memmove stub.
* mlibc/include/string.h (memmove): Declare.
* mlibc/libc-mes+tcc.c (memmove): Add stub.
|
2017-07-26 11:36:44 +02:00 |
|
Jan Nieuwenhuizen
|
7b8253cd47
|
mescc: Tinycc support: memcpy stub.
* mlibc/include/string.h (memcpy): Declare.
* mlibc/libc-mes+tcc.c (memcpy): Add stub.
|
2017-07-26 11:36:44 +02:00 |
|
Jan Nieuwenhuizen
|
eee7f8cb3c
|
mescc: Non-Guix support. Thanks rain1!
* mlibc/include: Neutralize include guards before #include_next.
Fixes compiling tinycc on Debian GNU/Linux.
|
2017-07-26 11:36:08 +02:00 |
|
Jan Nieuwenhuizen
|
16b9a21712
|
mescc: Tinycc support: headers.
* mlibc/include/string.h (ssize_t): New type.
* mlibc/include/unistd.h (ssize_t): New type.
|
2017-07-26 11:36:08 +02:00 |
|
Jan Nieuwenhuizen
|
4d1df9cbcb
|
mescc: move include into share/mlibc, allows installing alongside gcc.
* mlibc: Rename from libc.
* HACKING: Update for name change.
* make/bin.make: Likewise.
* make/mescc-guile.make: Likewise.
* make/mescc-mes.make: Likewise.
* scaffold/scaffold.make: Likewise.
* make/install.make: Likewise.
(install): Install mlibc into share/mlibc.
|
2017-06-03 12:27:53 +02:00 |
|