6b473cd28f
Merge months of work
2020-09-16 01:55:12 +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
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
545076c6df
gcc: introduce --posixly
command line option to ease the compilation of POSIX software
2020-09-01 13:05:39 +02:00
6bcca46d9f
gcc native: no __application_newlib_init (apparently there is no need for SIGCHLD)
2020-01-17 01:11:55 +01:00
e645cbc104
gcc: LIB_SPEC includes -ljehanne instead of -lc
2020-01-13 13:09:53 +01:00
611044fcc8
Merge remote-tracking branch 'private/port-gcc-restart' into port-gcc-restart
2019-12-27 19:52:01 +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
5d13eaeed9
gcc native: separate builds of gcc and libgcc
2019-12-19 00:11:25 +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
ba1541c359
gcc: remove APW from config/jehanne.h; adjust init.sh to include it on make
2019-12-16 01:02:15 +01:00
5631951268
gcc cross compiler: do not add . to include paths
2019-12-11 21:46:43 +01:00
cd6c4368c8
gcc native: add jehanne to libstdc++-v3/crossconfig.m4
2019-11-28 23:13:29 +01:00
026c082f2a
gcc: do not automatically include /posix
2019-11-24 15:51:17 +01:00
0c7d7e3064
gcc native: move cross compiler outside source tree
2019-11-22 07:26:24 +01:00
aebce89c7c
gcc native: properly set CPATH and LIBS
2019-11-18 01:02:18 +01:00
9f0c429895
gcc: add /posix/include to cross compiler toolchain
2018-11-26 02:24:46 +01:00
372896ff41
gcc: posix include directories under /sys/posix/
2017-04-19 17:03:53 +02:00
1ba806ca1b
new development tools
2016-11-25 13:41:57 +00:00