mes/build-aux
Jan (janneke) Nieuwenhuizen 189ea8eb9d x86_64: build: Cater for M2-Planet.
* build-aux/cflags.sh: Set cc_cpu.
* build-aux/config.sh.in (cc_cpu): Export.
* build-aux/export.make (cc_cpu): Likewise.
* kaem.arm (cc_cpu): New variable.
* kaem.x86 (cc_cpu): New variable.
* kaem.run (cc_cpu): New variable.  Define __<cc_cpu>__.
* scaffold/argv.kaem (cc_cpu): Likewise.  Define __linux__
* scaffold/global-array.kaem (cc_cpu): Likewise.
* scaffold/hello.kaem (cc_cpu): Likewise.
* scaffold/local-array.kaem (cc_cpu): Likewise.
* scaffold/local-static-array.kaem (cc_cpu): Likewise.
* scaffold/main.kaem (cc_cpu): Likewise.
* scaffold/read.kaem (cc_cpu): Likewise.
* kaem.x86_64: New file.
lib/m2/x86_64/ELF-x86_64.hex2,
lib/m2/x86_64/x86_64_defs.M1: New files, imported from M2Libc.
lib/linux/x86_64-mes-m2/_exit.c,
lib/linux/x86_64-mes-m2/_write.c,
lib/linux/x86_64-mes-m2/crt1.M1,
lib/linux/x86_64-mes-m2/crt1.c,
lib/linux/x86_64-mes-m2/syscall.c: New files, adapted for M2-Planet
calling convention from ...
* lib/linux/x86_64-mes-mescc: ... here.
* build-aux/build.sh.in: Also allow kaem build for x86_64.
* include/mes/lib-mini.h[__M2__]: Define as sizeof (void*).
* include/mes/mes.h[__M2__](M2_CELL_SIZE): Define as sizeof (struct scm).
* lib/x86_64-mes/x86_64.M1 (add____$i8,%rbp, mov____%rdi,%rbp): New
defines.
* src/posix.c (TIME_UNITS_PER_SECOND): Cater for 64bit M2-Planet.
2023-11-05 09:36:26 +01:00
..
bootstrap.sh.in build: Cater for colliding basename in C sources. 2023-05-02 10:22:45 +02:00
build-guile.sh configure: Use GUILD_OPTIMIZE=-O1 for Guile-3. 2020-10-07 14:09:24 +02:00
build-lib.sh build: Cater for colliding basename in C sources. 2023-05-02 10:22:45 +02:00
build-mes.sh mescc: Support --bootstrap build on ARM. 2021-05-01 16:10:49 +02:00
build-scaffold.sh build: Drop support for mescc-tools 0.5.2. 2023-05-03 14:52:25 +02:00
build-source-lib.sh ARM: libtcc1: Add div.c, __memcpy, __memmove, __memset. 2021-01-23 08:43:44 +01:00
build.sh.in x86_64: build: Cater for M2-Planet. 2023-11-05 09:36:26 +01:00
cc.sh build: Cater for colliding basename in C sources. 2023-05-02 10:22:45 +02:00
cflags.sh x86_64: build: Cater for M2-Planet. 2023-11-05 09:36:26 +01:00
check-boot.sh boot: Add gc test. 2020-08-16 17:36:55 +02:00
check-mes.sh tests: Add gc.test. 2020-04-25 16:39:43 +02:00
check-mescc.sh lib: tests: Add 17-compare-rotated. 2023-11-05 09:36:11 +01:00
check.sh.in Distinguish between gcc and mescc; select LIBS accordingly. 2020-10-06 10:04:41 +02:00
config.make.in configure: Use GUILD_OPTIMIZE=-O1 for Guile-3. 2020-10-07 14:09:24 +02:00
config.sh.in x86_64: build: Cater for M2-Planet. 2023-11-05 09:36:26 +01:00
configure-lib.sh lib: linux: Add wait4. 2023-05-03 08:04:32 +02:00
export.make x86_64: build: Cater for M2-Planet. 2023-11-05 09:36:26 +01:00
gendocs.sh build: web: New target. 2018-07-28 11:37:47 +02:00
gitlog-to-changelog build: Generate ChangeLog reproducibly. Thanks, Timothy! 2019-12-13 21:52:29 +01:00
GNUmakefile.in build: Generate reproducible doc/version.texi. 2023-11-05 09:36:11 +01:00
indent.sh mes: Grand indent: prepare. 2019-05-13 01:07:32 +02:00
install.sh.in lib: stat: Use SYS_stat64 for 32bit platforms. 2022-10-29 13:17:58 +02:00
manifest.scm guix: Update packaging. 2019-09-09 16:04:16 +02:00
mes-snarf.scm build: Update snarfer. 2020-09-27 19:07:00 +02:00
pointer.sh kaem.run: Remove --bootstrap-mode. 2023-05-03 08:03:48 +02:00
pre-inst-env.in build: Resurrect running mescc from elsewhere. 2020-10-06 10:44:50 +02:00
setup-mes.sh Add missing copyright headers. 2018-07-23 19:10:34 +02:00
snarf.sh core: Split-out stack.c 2020-07-19 08:53:46 +02:00
test-boot.sh build: Simplify. 2019-06-08 15:36:22 +02:00
test-c.sh mescc: Mes C Library: Support gcc-10. 2020-10-06 13:13:44 +02:00
test-driver build: Simplify. 2019-06-08 15:36:22 +02:00
test-suite.sh build: Use bash if available to avoid dash problems. 2019-06-25 21:40:43 +02:00
trace.sh build: Simplify. 2019-06-08 15:36:22 +02:00
uninstall.sh.in build: Simplify. 2019-06-08 15:36:22 +02:00