Commit Graph

231 Commits

Author SHA1 Message Date
Giacomo Tesio e0420eb690 newlib: add --disable-newlib-unbuf-stream-opt to avoid optimization causing fpu usage in note handler 2020-08-29 01:23:19 +02:00
Giacomo Tesio 18da65783b gcc native: add cross compilation of GCC to pkgs build (to setup proper POSIX headers in /posix) 2020-08-27 12:49:33 +02:00
Giacomo Tesio ed6ae29834 native.sh: fix $LIBS for binutils 2020-01-18 15:17:46 +01:00
Giacomo Tesio 86c03ba7e6 mksh: update subrepo 2020-01-17 02:43:04 +01:00
Giacomo Tesio 66a4602b6f newlib: update subrepo 2020-01-17 02:29:13 +01:00
Giacomo Tesio be4f2df614 runOver9P.sh: add reminder for debugging `ufs` 2020-01-17 02:03:11 +01:00
Giacomo Tesio 73fab2e6be gcc native: cleanup cross-compiler wrappers (needed to specify -lc and stuffs) 2020-01-17 01:39:21 +01:00
Giacomo Tesio 5734d59639 newlib: merge LibPOSIX into libc.a (and libg.a) so that you just need to specify -lc 2020-01-17 01:21:40 +01:00
Giacomo Tesio 6bcca46d9f gcc native: no __application_newlib_init (apparently there is no need for SIGCHLD) 2020-01-17 01:11:55 +01:00
Giacomo Tesio f25c95e76f gcc native: cleanup libgcc compilation 2020-01-17 00:46:59 +01:00
Giacomo Tesio 1addd6d56b gcc cross: cleanup init.sh 2020-01-17 00:21:05 +01:00
Giacomo Tesio fdc6a49fac newlib: do not rename libc.a anymore 2020-01-16 00:46:16 +01:00
Giacomo Tesio e645cbc104 gcc: LIB_SPEC includes -ljehanne instead of -lc 2020-01-13 13:09:53 +01:00
Giacomo Tesio c517407583 gcc native: add jehanne.o to executables (to check) 2020-01-07 23:28:43 +01:00
Giacomo Tesio 611044fcc8 Merge remote-tracking branch 'private/port-gcc-restart' into port-gcc-restart 2019-12-27 19:52:01 +01:00
Giacomo Tesio ef4aafa403 newlib: cleanup 2019-12-27 19:51:42 +01:00
Giacomo Tesio aff240b000 gcc native: add t-jehanne Makefile include 2019-12-27 19:50:31 +01:00
Giacomo Tesio 540a07726f gcc native: include jehanne.o in extra_gcc_objs (do we need this?) 2019-12-27 18:04:11 +01:00
Giacomo Tesio 18f33da3dd gcc native: wrap __application_newlib_init inside `extern "C" { }` 2019-12-27 17:53:21 +01:00
Giacomo Tesio 90272aea5a newlib: fix includes in CFLAGS_FOR_TARGET 2019-12-27 17:34:51 +01:00
Giacomo Tesio 5697f4bc7f gcc native: explicit --build 2019-12-27 17:34:05 +01:00
Giacomo Tesio da44acc091 mksh: use cross/wrappers 2019-12-23 18:06:59 +01:00
Giacomo Tesio 5d13eaeed9 gcc native: separate builds of gcc and libgcc 2019-12-19 00:11:25 +01:00
Giacomo Tesio d0ba1de890 gcc native: wrapper fix 2019-12-19 00:24:37 +01:00
Giacomo Tesio e600e2c57f gcc native: further corrections 2019-12-19 00:21:47 +01:00
Giacomo Tesio 57cedd3786 gcc native: initialize newlib (dedicated environment and SIGCHLD management) 2019-12-18 18:15:17 +01:00
Giacomo Tesio 905f03e6ae gcc native: separate gcc and libgcc compilation 2019-12-18 00:07:50 +01:00
Giacomo Tesio e7860adc5b gcc native: cleanup to native.sh script 2019-12-17 23:56:55 +01:00
Giacomo Tesio 4102d63058 gcc native: no --with-newlib; no CFLAGS_FOR_TAGET; cleanup 2019-12-17 00:32:01 +01:00
Giacomo Tesio 38eaa1ad99 gcc native: cleanup wrappers 2019-12-17 00:20:04 +01:00
Giacomo Tesio a96022f9bd wrappers/x86_64-jehanne-gcc: fix includes 2019-12-16 00:25:24 +01:00
Giacomo Tesio f61a6114e7 gcc native: update includes 2019-12-16 01:40:41 +01:00
Giacomo Tesio 7dc9bd0671 devshell.sh: export JEHANNE_TOOLCHAIN 2019-12-16 01:21:36 +01:00
Giacomo Tesio ba1541c359 gcc: remove APW from config/jehanne.h; adjust init.sh to include it on make 2019-12-16 01:02:15 +01:00
Giacomo Tesio 200961ec7c newlib: add -I to reach cross GCC's stddef.h; do not rename libm.a and libg.a 2019-12-16 00:15:12 +01:00
Giacomo Tesio 66ea00e263 gcc native: first successful compilation (with a few trick) 2019-12-15 23:39:06 +01:00
Giacomo Tesio 629d1eef1c gcc cross: configure --without-isl and --disable-nls 2019-12-15 23:35:01 +01:00
Giacomo Tesio f706eca22b gcc native: created cross/native.sh (and wrappers) to build libstdc++, binutils and gcc (still broken) 2019-12-13 01:12:08 +01:00
Giacomo Tesio f3c2a947f7 devshell.sh: do not define CPATH 2019-12-13 00:47:07 +01:00
Giacomo Tesio 7490843fcc gcc cross compiler: remove CPATH and comments 2019-12-13 00:30:24 +01:00
Giacomo Tesio 0ae284b23b gcc cross compiler: copy GCC headers into $JEHANNE/posix; reconfigure patched gcc/libstdc++-v3 2019-12-12 01:05:29 +01:00
Giacomo Tesio 5631951268 gcc cross compiler: do not add . to include paths 2019-12-11 21:46:43 +01:00
Giacomo Tesio b4b4b24bcd Merge branch 'port-gcc-restart' of https://bitbucket.org/tesio/jehanne-utilities into port-gcc-restart 2019-11-28 23:13:56 +01:00
Giacomo Tesio cd6c4368c8 gcc native: add jehanne to libstdc++-v3/crossconfig.m4 2019-11-28 23:13:29 +01:00
Giacomo Tesio 86bf70b6e8 cross pkgs: use hosted compiler in newlib and mksh (still to properly
install in /posix)
2019-11-28 01:13:06 +01:00
Giacomo Tesio 15b4c0b6b9 usyscall: purge syscall macros 2019-11-27 01:52:24 +01:00
Giacomo Tesio 558d3985e9 cross gcc: no customizations in cross compiler configuration 2019-11-25 12:50:41 +01:00
Giacomo Tesio 026c082f2a gcc: do not automatically include /posix 2019-11-24 15:51:17 +01:00
Giacomo Tesio e794cf272b usyscalls: fix cast 2019-11-24 15:49:04 +01:00
Giacomo Tesio 05c7ff454e gcc native: moved cross compiler (GCC 9.2.0) out of system tree 2019-11-22 22:52:17 +01:00