devtools/cross/patch
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
..
binutils gcc native: move cross compiler outside source tree 2019-11-22 07:26:24 +01:00
gcc/gcc/config gcc: remove `--posixly`, add `-9` 2020-09-06 12:22:37 +02:00
MakeNothing.in gcc native: properly set CPATH and LIBS 2019-11-18 01:02:18 +01:00
gcc.patch gcc: fix cross/patch/gcc.patch 2020-09-02 18:53:45 +02:00
libgmp.patch gcc native: move cross compiler outside source tree 2019-11-22 07:26:24 +01:00
libmpc.patch gcc native: move cross compiler outside source tree 2019-11-22 07:26:24 +01:00
libmpfr.patch gcc native: move cross compiler outside source tree 2019-11-22 07:26:24 +01:00