mes/lib/linux
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
..
x86-mes-gcc build: Simplify. 2019-06-08 15:36:22 +02:00
x86-mes-mescc build: Simplify. 2019-06-08 15:36:22 +02:00
x86_64-mes-gcc build: Simplify. 2019-06-08 15:36:22 +02:00
x86_64-mes-mescc build: Simplify. 2019-06-08 15:36:22 +02:00
access.c build: Simplify. 2019-06-08 15:36:22 +02:00
brk.c build: Simplify. 2019-06-08 15:36:22 +02:00
chdir.c build: Simplify. 2019-06-08 15:36:22 +02:00
chmod.c build: Simplify. 2019-06-08 15:36:22 +02:00
clock_gettime.c build: Simplify. 2019-06-08 15:36:22 +02:00
close.c build: Simplify. 2019-06-08 15:36:22 +02:00
dup.c build: Simplify. 2019-06-08 15:36:22 +02:00
dup2.c build: Simplify. 2019-06-08 15:36:22 +02:00
execve.c build: Simplify. 2019-06-08 15:36:22 +02:00
fcntl.c build: Simplify. 2019-06-08 15:36:22 +02:00
fork.c build: Simplify. 2019-06-08 15:36:22 +02:00
fstat.c build: Simplify. 2019-06-08 15:36:22 +02:00
fsync.c build: Simplify. 2019-06-08 15:36:22 +02:00
getcwd.c build: Simplify. 2019-06-08 15:36:22 +02:00
getdents.c build: Simplify. 2019-06-08 15:36:22 +02:00
getegid.c build: Simplify. 2019-06-08 15:36:22 +02:00
geteuid.c build: Simplify. 2019-06-08 15:36:22 +02:00
getgid.c build: Simplify. 2019-06-08 15:36:22 +02:00
getpid.c build: Simplify. 2019-06-08 15:36:22 +02:00
getppid.c build: Simplify. 2019-06-08 15:36:22 +02:00
getrusage.c build: Simplify. 2019-06-08 15:36:22 +02:00
gettimeofday.c build: Simplify. 2019-06-08 15:36:22 +02:00
getuid.c build: Simplify. 2019-06-08 15:36:22 +02:00
ioctl.c build: Simplify. 2019-06-08 15:36:22 +02:00
kill.c build: Simplify. 2019-06-08 15:36:22 +02:00
link.c build: Simplify. 2019-06-08 15:36:22 +02:00
lseek.c build: Simplify. 2019-06-08 15:36:22 +02:00
lstat.c build: Simplify. 2019-06-08 15:36:22 +02:00
mkdir.c build: Simplify. 2019-06-08 15:36:22 +02:00
nanosleep.c build: Simplify. 2019-06-08 15:36:22 +02:00
open.c build: Simplify. 2019-06-08 15:36:22 +02:00
pipe.c build: Simplify. 2019-06-08 15:36:22 +02:00
read.c build: Simplify. 2019-06-08 15:36:22 +02:00
rename.c build: Simplify. 2019-06-08 15:36:22 +02:00
rmdir.c build: Simplify. 2019-06-08 15:36:22 +02:00
setgid.c build: Simplify. 2019-06-08 15:36:22 +02:00
settimer.c build: Simplify. 2019-06-08 15:36:22 +02:00
setuid.c build: Simplify. 2019-06-08 15:36:22 +02:00
signal.c build: Simplify. 2019-06-08 15:36:22 +02:00
sigprogmask.c build: Simplify. 2019-06-08 15:36:22 +02:00
stat.c build: Simplify. 2019-06-08 15:36:22 +02:00
time.c build: Simplify. 2019-06-08 15:36:22 +02:00
unlink.c build: Simplify. 2019-06-08 15:36:22 +02:00
waitpid.c build: Simplify. 2019-06-08 15:36:22 +02:00