Commit Graph

219 Commits

Author SHA1 Message Date
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
Giacomo Tesio 492f377640 gcc native: build cross GCC 9.2.0 outside of sysroot 2019-11-22 00:13:45 +01:00
Giacomo Tesio 0c7d7e3064 gcc native: move cross compiler outside source tree 2019-11-22 07:26:24 +01:00
Giacomo Tesio 3842a03b36 gcc native: build.sh: mock makeinfo to avoid it as a dependency 2019-11-20 00:26:41 +01:00
Giacomo Tesio 9114d34164 newlib: fix libraries `mv` 2019-11-20 00:25:43 +01:00
Giacomo Tesio efa47411c6 gcc native: more binutils 2019-11-19 00:23:08 +01:00
Giacomo Tesio 3f3f02c9dd newlib: build.sh: copy output libraries to /posix and rename for easier linking 2019-11-19 00:24:34 +01:00
Giacomo Tesio 292ecd4f19 gcc native: more binutils 2019-11-19 01:51:23 +01:00
Giacomo Tesio 633a039d4f devtools: usyscalls: cast pointers args to (void*) 2019-11-19 01:48:52 +01:00
Giacomo Tesio ee7317925a gcc native: properly copy Makefile.in to doc dirs 2019-11-18 01:17:53 +01:00
Giacomo Tesio aebce89c7c gcc native: properly set CPATH and LIBS 2019-11-18 01:02:18 +01:00
Giacomo Tesio 5c3f796756 gcc native: mess with environment variables 2019-11-13 18:19:34 +01:00
Giacomo Tesio 02d871e58d gcc native: actually put --host=x86_64-jehanne; set LDFLAGS and LDLIBS 2019-11-12 00:12:09 +01:00