aboutsummaryrefslogtreecommitdiff
path: root/config/cc
diff options
context:
space:
mode:
authorMarc Poulhiès <dkm@kataplop.net>2022-12-13 21:16:22 +0100
committerChris Packham <judge.packham@gmail.com>2022-12-18 21:20:50 +1300
commitcdae8d0559d41f9464ab54e2967e23a0ee06a358 (patch)
tree7245c112b1e1999ec2c8f715aeff4facf6de6cb5 /config/cc
parent500fe136547598da727970383cefe6280c09a658 (diff)
downloadcrosstool-ng-cdae8d0559d41f9464ab54e2967e23a0ee06a358.tar.gz
crosstool-ng-cdae8d0559d41f9464ab54e2967e23a0ee06a358.tar.bz2
crosstool-ng-cdae8d0559d41f9464ab54e2967e23a0ee06a358.zip
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>
Diffstat (limited to 'config/cc')
-rw-r--r--config/cc/gcc.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/cc/gcc.in b/config/cc/gcc.in
index e77b0716..d5b19c79 100644
--- a/config/cc/gcc.in
+++ b/config/cc/gcc.in
@@ -5,6 +5,7 @@
## select CC_SUPPORT_JAVA if !GCC_7_or_later && OBSOLETE
## select CC_SUPPORT_ADA
## select CC_SUPPORT_D
+## select CC_SUPPORT_JIT
## select CC_SUPPORT_OBJC
## select CC_SUPPORT_OBJCXX
## select CC_SUPPORT_GOLANG