* include/mes/lib-mini.h (main): New declaration. lib/freebsd/x86-mes-gcc/crt1.c (main): Remove declaration. lib/freebsd/x86-mes-mescc/crt1.c (main): Remove declaration. lib/gnu/x86-mes-gcc/crt1.c (main): Remove declaration. lib/linux/arm-mes-gcc/crt1.c (main): Remove declaration. lib/linux/arm-mes-m2/crt1.c (main): Remove declaration. lib/linux/arm-mes-mescc/crt1.c (main): Remove declaration. lib/linux/riscv64-mes-gcc/crt1.c (main): Remove declaration. lib/linux/riscv64-mes-m2/crt1.c (main): Remove declaration. lib/linux/riscv64-mes-mescc/crt1.c (main): Remove declaration. lib/linux/x86-mes-gcc/crt1.c (main): Remove declaration. lib/linux/x86-mes-m2/crt1.c (main): Remove declaration. lib/linux/x86-mes-mescc/crt1.c (main): Remove declaration. lib/linux/x86_64-mes-gcc/crt0.c (main): Remove declaration. lib/linux/x86_64-mes-gcc/crt1.c (main): Remove declaration. lib/linux/x86_64-mes-m2/crt1.c (main): Remove declaration. lib/linux/x86_64-mes-mescc/crt1.c (main): Remove declaration.
* lib/linux/x86_64-mes-gcc/crt1.c (_start): Replace manual initialization of __stdin, __stdout, __stderr, and environ with __init_io (). * lib/linux/x86_64-mes-m2/crt1.M1 (_start): Likewise. * lib/linux/x86_64-mes-mescc/crt1.c (_start): Likewise.
core: Make mes src/ c files separate compilation units. * include/mes/constants.h: New file. * include/mes/macros.h: New file. * include/mes/mes.h: New file. * src/gc.c: Update. * src/hash.c: Update. * src/lib.c: Update. * src/math.c: Update. * src/mes.c: Update. * src/module.c: Update. * src/posix.c: Update. * src/reader.c: Update. * src/string.c: Update. * src/struct.c: Update. * src/vector.c: Update. mes: Update datadir. * src/mes.c (g_datadir): New global. (open_boot): Rename from read_boot. (read_boot): New function. * mes/module/mes/boot-0.scm: Move from boot-0.scm.in * configure: Update. * configure.sh: Update. mescc: Create libraries from separate files. * .gitignore: Update. * build-aux/bootstrap-mes.sh: Remove. * build-aux/bootstrap.sh.in: Remove. * build-aux/build-guile.sh: Update. * build-aux/build-mes.sh: Update. * build-aux/build-scaffold.sh: New file. * build-aux/build.sh.in: Update. * build-aux/cc.sh: Update. * build-aux/check-tcc.sh: Remove. * build-aux/config.sh.in: New file. * build-aux/config.sh: Remove. * build-aux/install.sh.in: Update. * build-aux/test-boot.sh: New file. * build-aux/test-c.sh: New file. * build-aux/test-driver: New file. * build-aux/test-suite.sh: New file. * build-aux/trace.sh: Update. * build-aux/uninstall.sh.in: Update. * configure: Update. * configure.sh: Update. * lib/linux/x86-mes-mescc/crt1.c: Move from lib/linux/x86-mes. * lib/linux/x86-mes-mescc/mini.c: Likewise. * lib/linux/x86_64-mes-mescc/crt1.c: Move from lib/linux/x86_64-mes. * lib/linux/x86_64-mes-mescc/mini.c: Likewise. * lib/linux/x86-mes-gcc/syscall.c: Rename from mes.c. * lib/linux/x86-mes-mescc/syscall.c: Likewise. * lib/linux/x86_64-mes-gcc/syscall.c: Likewise. * lib/linux/x86_64-mes-mescc/syscall.c: Likewise. * lib/mes/mes_open.c: Include config.h. * lib/tests/stdio/70-printf-hello.c: Likewise. * lib/tests/stdio/70-printf-simple.c: Likewise. * scaffold/gc-test.sh: New file. * simple.sh: Update.