cb38e778ee
start-u9fs.sh: enable protocol debug with export U9FS_LOGGING=enable
2022-01-06 17:14:03 +00:00
63f39e4245
runOver9P.sh: enable kvm only if $JEHANNE_KVM=enable
2022-01-06 17:08:15 +00:00
25a0786488
gcc: fix automake dependency for debian bullseye
2022-01-06 00:47:40 +00:00
d67c3ee393
trampoline: add dc to build
2022-01-06 01:45:12 +01:00
98802a49e2
fix typos
2022-01-05 16:54:00 +00:00
5ea07be699
move submodules to gitea.it
2021-12-30 00:13:37 +01:00
0c2dabf975
new-build: get rid of Go(ogle) with few rc scripts
...
Also, in binutils: fix inlining compilation error,
see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242053
2021-12-29 16:33:49 +01:00
6b473cd28f
Merge months of work
2020-09-16 01:55:12 +02:00
b11fca2d82
Merge branch 'port-gcc-restart'
2020-09-16 01:42:34 +02:00
2412657f20
Merge pull request #7 from istr/master
...
workaround for https://github.com/JehanneOS/jehanne/issues/13
2020-09-13 02:34:01 +02:00
aa17d7cc8a
gcc: map -9
to a few flags in DRIVER_SELF_SPECS
2020-09-13 02:25:52 +02:00
Ingo Struck (git commits)
35aaf5b2f6
workaround for https://github.com/JehanneOS/jehanne/issues/13
2020-09-12 15:11:42 +02:00
bab840a411
gcc: build works again
2020-09-10 22:39:10 +02:00
f598a59d81
gcc: remove --posixly
, add -9
...
The GCC option `--posixly` was introduced to enable the compilation
of POSIX code in Jehanne, assuming that building native C code
would have been the default.
However since
- GCC is itself a POSIX program and most programmers that use it
assume a POSIX environment
- GCC is used as a cross compiler to build Jehanne from POSIX systems
- C++ will never be native in Jehanne (too much complexity for a
system that want to be simple) and thus will always require a
POSIX environment to build POSIX C++ code
I decided to invert the logic.
Thus now by default GCC, by default, will build POSIX programs,
loading required libraries and headers from /posix subdirectories.
The new option `-9` will remove such POSIX stuff when compiling
native C programs.
2020-09-06 12:22:37 +02:00
8e890d973c
continuous-build.sh: update GCC version and paths
2020-09-03 00:58:28 +02:00
48f5a46734
gcc: fix cross/patch/gcc.patch
2020-09-02 18:53:45 +02:00
7278b664fc
gcc: fix --posixly
management in cross compiler
2020-09-02 18:52:23 +02:00
8d419405cb
gcc native: remove cross/native.sh and unused patches in cross/pkgs/gcc/patch
...
Apparently we can use the patches created for the cross compiler.
cross/native.sh has been moved in cross/pkgs/gcc/build.sh to get some
coherence among the packages (in the hope of writing a reasonable
package manager in the future).
2020-09-01 13:10:17 +02:00
545076c6df
gcc: introduce --posixly
command line option to ease the compilation of POSIX software
2020-09-01 13:05:39 +02:00
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
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
ed6ae29834
native.sh: fix $LIBS for binutils
2020-01-18 15:17:46 +01:00
86c03ba7e6
mksh: update subrepo
2020-01-17 02:43:04 +01:00
66a4602b6f
newlib: update subrepo
2020-01-17 02:29:13 +01:00
be4f2df614
runOver9P.sh: add reminder for debugging ufs
2020-01-17 02:03:11 +01:00
73fab2e6be
gcc native: cleanup cross-compiler wrappers (needed to specify -lc and stuffs)
2020-01-17 01:39:21 +01:00
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
6bcca46d9f
gcc native: no __application_newlib_init (apparently there is no need for SIGCHLD)
2020-01-17 01:11:55 +01:00
f25c95e76f
gcc native: cleanup libgcc compilation
2020-01-17 00:46:59 +01:00
1addd6d56b
gcc cross: cleanup init.sh
2020-01-17 00:21:05 +01:00
fdc6a49fac
newlib: do not rename libc.a anymore
2020-01-16 00:46:16 +01:00
e645cbc104
gcc: LIB_SPEC includes -ljehanne instead of -lc
2020-01-13 13:09:53 +01:00
c517407583
gcc native: add jehanne.o to executables (to check)
2020-01-07 23:28:43 +01:00
611044fcc8
Merge remote-tracking branch 'private/port-gcc-restart' into port-gcc-restart
2019-12-27 19:52:01 +01:00
ef4aafa403
newlib: cleanup
2019-12-27 19:51:42 +01:00
aff240b000
gcc native: add t-jehanne Makefile include
2019-12-27 19:50:31 +01:00
540a07726f
gcc native: include jehanne.o in extra_gcc_objs (do we need this?)
2019-12-27 18:04:11 +01:00
18f33da3dd
gcc native: wrap __application_newlib_init inside extern "C" { }
2019-12-27 17:53:21 +01:00
90272aea5a
newlib: fix includes in CFLAGS_FOR_TARGET
2019-12-27 17:34:51 +01:00
5697f4bc7f
gcc native: explicit --build
2019-12-27 17:34:05 +01:00
da44acc091
mksh: use cross/wrappers
2019-12-23 18:06:59 +01:00
5d13eaeed9
gcc native: separate builds of gcc and libgcc
2019-12-19 00:11:25 +01:00
d0ba1de890
gcc native: wrapper fix
2019-12-19 00:24:37 +01:00
e600e2c57f
gcc native: further corrections
2019-12-19 00:21:47 +01:00
57cedd3786
gcc native: initialize newlib (dedicated environment and SIGCHLD management)
2019-12-18 18:15:17 +01:00
905f03e6ae
gcc native: separate gcc and libgcc compilation
2019-12-18 00:07:50 +01:00
e7860adc5b
gcc native: cleanup to native.sh script
2019-12-17 23:56:55 +01:00
4102d63058
gcc native: no --with-newlib; no CFLAGS_FOR_TAGET; cleanup
2019-12-17 00:32:01 +01:00
38eaa1ad99
gcc native: cleanup wrappers
2019-12-17 00:20:04 +01:00
a96022f9bd
wrappers/x86_64-jehanne-gcc: fix includes
2019-12-16 00:25:24 +01:00