crosstool-ng/scripts/build/companion_libs
Marc Poulhiès cdae8d0559 Enable support for building libgccjit
libgccjit is still under development and, despite its name, may also be used for
ahead-of-time compilation.

Documentation can be found on the gcc website:
https://gcc.gnu.org/onlinedocs/jit/internals/index.html
https://gcc.gnu.org/wiki/JIT

With this change it's possible to enable the building of the libgccjit. It's
enabled as a language (with --enable-languages=jit) even if not a language
frontend at all.

The main changes are related to the requirement of having everything host side
built as Position Independent Code (PIC) with --enable-host-shared. GCC has the
needed logic for building its dependencies (mpc, gmp, mpfr, ...) correctly when
built "in-tree", which is not the case with crosstool-ng (see
https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=05048fc29f0)

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2022-12-18 21:20:50 +13:00
..
050-zlib.sh Enable support for building libgccjit 2022-12-18 21:20:50 +13:00
100-gmp.sh Enable support for building libgccjit 2022-12-18 21:20:50 +13:00
110-mpfr.sh Enable support for building libgccjit 2022-12-18 21:20:50 +13:00
121-isl.sh Enable support for building libgccjit 2022-12-18 21:20:50 +13:00
130-cloog.sh Enable support for building libgccjit 2022-12-18 21:20:50 +13:00
140-mpc.sh Enable support for building libgccjit 2022-12-18 21:20:50 +13:00
200-libelf.sh Avoid adding arch/cpu/tune flags for target to GCC build 2018-06-05 00:16:37 -07:00
210-expat.sh Rename JOBSFLAGS -> CT_JOBSFLAGS 2019-04-04 18:57:42 -07:00
220-ncurses.sh Rename JOBSFLAGS -> CT_JOBSFLAGS 2019-04-04 18:57:42 -07:00
320-libiconv.sh Rename JOBSFLAGS -> CT_JOBSFLAGS 2019-04-04 18:57:42 -07:00
330-gettext.sh Restrict *-uclibc,* canadians to gettext 0.20 2022-02-11 00:47:51 -08:00
340-picolibc.sh Convert tabs to spaces 2022-02-11 00:47:51 -08:00
350-newlib_nano.sh newlib-nano: Fix include path for CT_NEWLIB_NANO_INSTALL_IN_TARGET 2022-05-12 20:58:29 +12:00
400-gnuprumcu.sh gnuprumcu: Bump to v0.6.0 2021-08-22 18:08:13 +03:00