add gfortran compiler support (#9600, patch from Xiangfu Liu via Qi hardware)
[openwrt/staging/mkresin.git] / toolchain / gcc / Config.in
index 2b42f932df7f08673a45ce00efd795ccfb84db16..6b45da55bd20cb26de1e92c3e0badc6633ca81f2 100644 (file)
@@ -2,12 +2,9 @@
 
 choice
        prompt "GCC compiler Version" if TOOLCHAINOPTS
-       default GCC_VERSION_4_3_5 if (avr32 || powerpc64)
-       default GCC_VERSION_4_3_5 if (TARGET_coldfire || TARGET_etrax || TARGET_gemini || TARGET_cns21xx)
-       default GCC_VERSION_4_3_3_CS if (arm || armeb) && !(TARGET_gemini || TARGET_cns21xx || TARGET_omap35xx)
-       default GCC_VERSION_4_3_3_CS if (mips || mipsel) && !(TARGET_octeon || TARGET_sibyte)
-       default GCC_VERSION_4_4_5 if (powerpc || ubicom32)
-       default GCC_VERSION_4_4_5 if (TARGET_omap35xx || TARGET_octeon || TARGET_sibyte)
+       default GCC_VERSION_4_3_3_CS if GCC_DEFAULT_VERSION_4_3_3_CS
+       default GCC_VERSION_4_3_5 if GCC_DEFAULT_VERSION_4_3_5
+       default GCC_VERSION_4_4_5 if GCC_DEFAULT_VERSION_4_4_5
        default GCC_VERSION_LINARO
        help
          Select the version of gcc you wish to use.
@@ -22,7 +19,7 @@ choice
                bool "gcc 4.5.2"
 
        config GCC_VERSION_LINARO
-               bool "gcc 4.5.2 with Linaro enhancements"
+               bool "gcc 4.5.x with Linaro enhancements"
 
        config GCC_VERSION_LLVM
                bool "llvm-gcc 4.2"
@@ -69,6 +66,15 @@ config TLS_SUPPORT
        help
            Enable Thread-local storage support
 
+config SJLJ_EXCEPTIONS
+       bool
+       prompt "Use setjump()/longjump() exceptions" if TOOLCHAINOPTS
+       default n
+       help
+           Use old setjump()/longjump() exceptions instead of the newer
+           frame unwinding exceptions handling routines.  Warning: increases
+           code size and runtime memory usage.
+
 config INSTALL_LIBSTDCPP
        bool
        prompt "Build/install c++ compiler and libstdc++?" if TOOLCHAINOPTS
@@ -83,3 +89,11 @@ config INSTALL_LIBGCJ
        default n
        help
            Build/install java compiler and GNU classpath ?
+
+
+config INSTALL_GFORTRAN
+       bool
+       prompt "Build/install fortran compiler?" if TOOLCHAINOPTS
+       default n
+       help
+           Build/install GNU fortran compiler ?