summaryrefslogtreecommitdiff
path: root/config/cc/gcc.in.2
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2010-09-12 18:54:54 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2010-09-12 18:54:54 (GMT)
commitd34a5ec7d8003256b859421dc080be0362663678 (patch)
tree0eaff319c7efbd3257b9c1360ac897dc27b0890e /config/cc/gcc.in.2
parent4c326c29241784efbda7494c09068a103397b2f4 (diff)
cc/gcc: do not force use of non-vital companion libraries
While GMP and MPFR are required by gcc>=4.3 (to build the frontends), and MPC is required by gcc>=4.5, the other libs are not. If they are present then gcc will enable advanced features; if they are missing, then gcc will (should) simply disable those features. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Diffstat (limited to 'config/cc/gcc.in.2')
-rw-r--r--config/cc/gcc.in.227
1 files changed, 27 insertions, 0 deletions
diff --git a/config/cc/gcc.in.2 b/config/cc/gcc.in.2
index 95d7037..1b4926b 100644
--- a/config/cc/gcc.in.2
+++ b/config/cc/gcc.in.2
@@ -7,6 +7,33 @@ config CC_GCC_ENABLE_TARGET_OPTSPACE
This will compile crossgcc's libs with -Os.
+config CC_GCC_USE_GRAPHITE
+ bool
+ prompt "Enable GRAPHITE loop optimisations"
+ default y
+ depends on CC_GCC_HAS_GRAPHITE
+ select CC_GCC_USE_PPL_CLOOG
+ help
+ Enable the GRAPHITE loop optimsations.
+
+ This requires the PPL and CLooG companion libraries, and
+ those will be automatically build for you.
+
+ On some systems (eg. Cygwin), PPL and/or CLooG may not
+ build properly (yet), so you'll have to say 'N' here.
+
+config CC_GCC_USE_LTO
+ bool
+ prompt "Enable LTO"
+ default y
+ depends on CC_GCC_HAS_LTO
+ select CC_GCC_USE_LIBELF
+ help
+ Enable the Link Time Optimisations.
+
+ This will require the libelf companion library, and it
+ wil be build automatically for you.
+
config CC_STATIC_LIBSTDCXX
bool
prompt "Link libstdc++ statically into the gcc binary"