mescc: Refactor mlibc compilation.
authorJan Nieuwenhuizen <janneke@gnu.org>
Sun, 21 May 2017 20:25:02 +0000 (22:25 +0200)
committerJan Nieuwenhuizen <janneke@gnu.org>
Sun, 21 May 2017 20:25:02 +0000 (22:25 +0200)
commit3c880bbb569332b557c8b6b9f5a81104f78df1cc
tree78500bd8df09edd136dfced992e53ba532746796
parent2027754a59086e4a4cbb11d474f33e5924ae499c
mescc: Refactor mlibc compilation.

* libc/libc-mes.c: New file.  Contents from module/mes/libc.mes, module/mes/libc-i386.mes.
* libc/libc-gcc.c: Rename from libc/mlibc.c, include libc/mstart.c
* libc/mstart.c: Remove.
* module/mes/libc-i386.mes: Remove.
* module/mes/libc-i386.scm: Remove.
* module/mes/libc.mes: Remove.
* module/mes/libc.scm: Remove.
* GNUmakefile (CFLAGS): Include libc-gcc.c (WAS: mlibc.c).
* make/bin-mlibc.make (C_FLAGS): Remove start.c include.
* make/mescc-guile.make: Rewrite using compile, link.
* make/mescc-mes.make: Likewise.
* scaffold/m.c: Update.
22 files changed:
GNUmakefile
libc/libc-gcc.c [new file with mode: 0644]
libc/libc-mes.c [new file with mode: 0644]
libc/mini-libc-mes.c [new file with mode: 0644]
libc/mlibc.c [deleted file]
libc/mstart.c [deleted file]
make/bin-mlibc.make
make/bin.make
make/check-tinycc.make
make/check.make
make/compile.make
make/mescc-guile.make
make/mescc-mes.make
module/language/c99/compiler.mes
module/mes/as-i386.mes
module/mes/libc-i386.mes [deleted file]
module/mes/libc-i386.scm [deleted file]
module/mes/libc.mes [deleted file]
module/mes/libc.scm [deleted file]
scaffold/m.c
scaffold/tiny-mes.c
src/src.make