mes/include
Jan Nieuwenhuizen 5dc245e739
build: Simplify.
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.
2019-06-08 15:36:22 +02:00
..
linux build: Simplify. 2019-06-08 15:36:22 +02:00
mes build: Simplify. 2019-06-08 15:36:22 +02:00
sys build: Simplify. 2019-06-08 15:36:22 +02:00
alloca.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
ar.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
argz.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
assert.h build: Simplify. 2019-06-08 15:36:22 +02:00
ctype.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
dirent.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
dirstream.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
dlfcn.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
endian.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
errno.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
fcntl.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
features.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
float.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
getopt.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
grp.h build: Simplify. 2019-06-08 15:36:22 +02:00
inttypes.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
libgen.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
limits.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
locale.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
math.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
memory.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
pwd.h build: Simplify. 2019-06-08 15:36:22 +02:00
setjmp.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
signal.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
stdarg.h build: Simplify. 2019-06-08 15:36:22 +02:00
stdbool.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
stddef.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
stdint.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
stdio.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
stdlib.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
stdnoreturn.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
string.h build: Simplify. 2019-06-08 15:36:22 +02:00
strings.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
termio.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
time.h build: Simplify. 2019-06-08 15:36:22 +02:00
unistd.h build: Simplify. 2019-06-08 15:36:22 +02:00