Jan Nieuwenhuizen
|
350d94aa77
|
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.
|
2018-06-24 09:28:23 +02:00 |
|
Jan Nieuwenhuizen
|
831bd71a14
|
mescc: syscall: return only ever error -1, set errno.
|
2018-06-08 07:17:51 +02:00 |
|
Jan Nieuwenhuizen
|
ef0a39547c
|
mescc: Support gcc-3.0: Implement atexit.
|
2018-06-07 18:02:21 +02:00 |
|
Jan Nieuwenhuizen
|
635dfd03a2
|
mescc: Support glibc-1.06.4.
* lib/glibc.c: New file.
* lib/libc+gnu.c: Include it.
|
2018-06-03 18:54:26 +02:00 |
|
Jan Nieuwenhuizen
|
f1efaa0e93
|
mescc: Support binutils-2.5.1.
* include/stdint.h: #undef types before typedef'ing them.
* include/sys/types.h: Likewise.
* include/string.h (NULL): New define.
* include/stdio.h (BUFSIZ): New define.
|
2018-05-30 21:55:39 +02:00 |
|
Jan Nieuwenhuizen
|
2cda87257a
|
mlibc: Cleanup.
|
2018-05-29 18:15:22 +02:00 |
|
Jan Nieuwenhuizen
|
a10c48735d
|
mescc: Posixify interface.
* module/mescc/compile.mes: Move from language/c99/compiler.mes.
* module/mescc: New module..
* module/mescc/M1.scm: Move from mes/M1.mes.
* module/mescc/as.scm: Likewise.
* module/mescc/bytevectors.scm: Likewise.
* module/mescc/mescc.scm: New file.
* scripts/mescc: Update to new layout and posixy interface.
* GNUmakefile: Likewise.
* build-aux/build-cc.sh: Likewise.
* build-aux/build-guile.sh: Likewise.
* build-aux/build-mes.sh: Likewise.
* build-aux/build-mlibc.sh: Likewise.
* build-aux/cc-mes.sh: Likewise.
* build-aux/cc-mlibc.sh: Likewise.
* build-aux/cc.sh: Likewise.
* build-aux/check-mescc.sh: Likewise.
* build-aux/test.sh: Likewise.
* build.sh: Likewise.
* .gitignore: Update for posixy extensions.
|
2018-05-25 08:05:02 +02:00 |
|