devtools/cross
Giacomo Tesio 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
..
patch gcc: remove `--posixly`, add `-9` 2020-09-06 12:22:37 +02:00
pkgs gcc native: remove cross/native.sh and unused patches in cross/pkgs/gcc/patch 2020-09-01 13:10:17 +02:00
src gcc native: move cross compiler outside source tree 2019-11-22 07:26:24 +01:00
tmp new development tools 2016-11-25 13:41:57 +00:00
toolchain new development tools 2016-11-25 13:41:57 +00:00
wrappers gcc native: cleanup cross-compiler wrappers (needed to specify -lc and stuffs) 2020-01-17 01:39:21 +01:00
init.sh gcc cross: cleanup init.sh 2020-01-17 00:21:05 +01:00
x86_64-jehanne-pkg-config gcc native: hopefully improvements (build.sh doesn't work yet) 2018-11-27 18:53:32 +01:00