samples/s390-ibm-linux-gnu/crosstool.config
author Michael Hope <michael.hope@linaro.org>
Wed Oct 19 15:27:32 2011 +1300 (2011-10-19)
changeset 2739 f320e22f2cba
parent 2581 181206f4bdbc
child 2861 3b8192272c2f
permissions -rw-r--r--
arch: add softfp support

Some architectures support a mixed hard/soft floating point, where
the compiler emits hardware floating point instructions, but passes
the operands in core (aka integer) registers.

For example, ARM supports this mode (to come in the next changeset).

Add support for softfp cross compilers to the GCC and GLIBC
configuration. Needed for Ubuntu and other distros that are softfp.

Signed-off-by: Michael Hope <michael.hope@linaro.org>
[yann.morin.1998@anciens.enib.fr: split the original patch]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
     1 #
     2 # Automatically generated make config: don't edit
     3 # crosstool-NG hg_default@2723_d56ba604be80 Configuration
     4 # Sun Oct 16 18:19:41 2011
     5 #
     6 CT_CONFIGURE_has_xzutils=y
     7 CT_CONFIGURE_has_cvs=y
     8 CT_CONFIGURE_has_svn=y
     9 CT_MODULES=y
    10 
    11 #
    12 # Paths and misc options
    13 #
    14 
    15 #
    16 # crosstool-NG behavior
    17 #
    18 # CT_OBSOLETE is not set
    19 CT_EXPERIMENTAL=y
    20 # CT_DEBUG_CT is not set
    21 
    22 #
    23 # Paths
    24 #
    25 CT_LOCAL_TARBALLS_DIR="${HOME}/src"
    26 CT_SAVE_TARBALLS=y
    27 CT_WORK_DIR="${CT_TOP_DIR}/.build"
    28 CT_PREFIX_DIR="${HOME}/x-tools/${CT_TARGET}"
    29 CT_INSTALL_DIR="${CT_PREFIX_DIR}"
    30 CT_RM_RF_PREFIX_DIR=y
    31 CT_REMOVE_DOCS=y
    32 CT_INSTALL_DIR_RO=y
    33 CT_STRIP_ALL_TOOLCHAIN_EXECUTABLES=y
    34 
    35 #
    36 # Downloading
    37 #
    38 # CT_FORBID_DOWNLOAD is not set
    39 # CT_FORCE_DOWNLOAD is not set
    40 CT_CONNECT_TIMEOUT=10
    41 # CT_ONLY_DOWNLOAD is not set
    42 # CT_USE_MIRROR is not set
    43 
    44 #
    45 # Extracting
    46 #
    47 # CT_FORCE_EXTRACT is not set
    48 CT_OVERIDE_CONFIG_GUESS_SUB=y
    49 # CT_ONLY_EXTRACT is not set
    50 CT_PATCH_BUNDLED=y
    51 # CT_PATCH_LOCAL is not set
    52 # CT_PATCH_BUNDLED_LOCAL is not set
    53 # CT_PATCH_LOCAL_BUNDLED is not set
    54 # CT_PATCH_BUNDLED_FALLBACK_LOCAL is not set
    55 # CT_PATCH_LOCAL_FALLBACK_BUNDLED is not set
    56 # CT_PATCH_NONE is not set
    57 CT_PATCH_ORDER="bundled"
    58 
    59 #
    60 # Build behavior
    61 #
    62 CT_PARALLEL_JOBS=0
    63 CT_LOAD=0
    64 CT_USE_PIPES=y
    65 CT_EXTRA_FLAGS_FOR_HOST=""
    66 # CT_CONFIG_SHELL_SH is not set
    67 # CT_CONFIG_SHELL_ASH is not set
    68 CT_CONFIG_SHELL_BASH=y
    69 # CT_CONFIG_SHELL_CUSTOM is not set
    70 CT_CONFIG_SHELL="${bash}"
    71 
    72 #
    73 # Logging
    74 #
    75 # CT_LOG_ERROR is not set
    76 # CT_LOG_WARN is not set
    77 # CT_LOG_INFO is not set
    78 CT_LOG_EXTRA=y
    79 # CT_LOG_ALL is not set
    80 # CT_LOG_DEBUG is not set
    81 CT_LOG_LEVEL_MAX="EXTRA"
    82 # CT_LOG_SEE_TOOLS_WARN is not set
    83 CT_LOG_PROGRESS_BAR=y
    84 CT_LOG_TO_FILE=y
    85 CT_LOG_FILE_COMPRESS=y
    86 
    87 #
    88 # Target options
    89 #
    90 CT_ARCH="s390"
    91 CT_ARCH_SUPPORTS_32=y
    92 CT_ARCH_SUPPORTS_64=y
    93 CT_ARCH_SUPPORT_FPU=y
    94 CT_ARCH_DEFAULT_32=y
    95 CT_ARCH_FPU=""
    96 CT_ARCH_32=y
    97 # CT_ARCH_64 is not set
    98 CT_ARCH_BITNESS=32
    99 CT_ARCH_FLOAT_HW=y
   100 # CT_ARCH_FLOAT_SW is not set
   101 CT_TARGET_CFLAGS=""
   102 CT_TARGET_LDFLAGS=""
   103 # CT_ARCH_alpha is not set
   104 # CT_ARCH_arm is not set
   105 # CT_ARCH_avr32 is not set
   106 # CT_ARCH_blackfin is not set
   107 # CT_ARCH_m68k is not set
   108 # CT_ARCH_mips is not set
   109 # CT_ARCH_powerpc is not set
   110 CT_ARCH_s390=y
   111 # CT_ARCH_sh is not set
   112 # CT_ARCH_sparc is not set
   113 # CT_ARCH_x86 is not set
   114 CT_ARCH_alpha_AVAILABLE=y
   115 CT_ARCH_arm_AVAILABLE=y
   116 CT_ARCH_avr32_AVAILABLE=y
   117 CT_ARCH_blackfin_AVAILABLE=y
   118 CT_ARCH_m68k_AVAILABLE=y
   119 CT_ARCH_mips_AVAILABLE=y
   120 CT_ARCH_powerpc_AVAILABLE=y
   121 CT_ARCH_s390_AVAILABLE=y
   122 CT_ARCH_sh_AVAILABLE=y
   123 CT_ARCH_sparc_AVAILABLE=y
   124 CT_ARCH_x86_AVAILABLE=y
   125 
   126 #
   127 # Generic target options
   128 #
   129 CT_ARCH_USE_MMU=y
   130 
   131 #
   132 # Target optimisations
   133 #
   134 
   135 #
   136 # Toolchain options
   137 #
   138 
   139 #
   140 # General toolchain options
   141 #
   142 CT_FORCE_SYSROOT=y
   143 CT_USE_SYSROOT=y
   144 CT_SYSROOT_NAME="sysroot"
   145 CT_SYSROOT_DIR_PREFIX=""
   146 # CT_STATIC_TOOLCHAIN is not set
   147 CT_TOOLCHAIN_PKGVERSION=""
   148 CT_TOOLCHAIN_BUGURL=""
   149 
   150 #
   151 # Tuple completion and aliasing
   152 #
   153 CT_TARGET_VENDOR="unknown"
   154 CT_TARGET_ALIAS_SED_EXPR=""
   155 CT_TARGET_ALIAS=""
   156 
   157 #
   158 # Toolchain type
   159 #
   160 # CT_NATIVE is not set
   161 CT_CROSS=y
   162 # CT_CROSS_NATIVE is not set
   163 # CT_CANADIAN is not set
   164 CT_TOOLCHAIN_TYPE="cross"
   165 
   166 #
   167 # Build system
   168 #
   169 CT_BUILD=""
   170 CT_BUILD_PREFIX=""
   171 CT_BUILD_SUFFIX=""
   172 
   173 #
   174 # Operating System
   175 #
   176 CT_KERNEL_SUPPORTS_SHARED_LIBS=y
   177 CT_KERNEL="linux"
   178 CT_KERNEL_VERSION="2.6.31.14"
   179 # CT_KERNEL_bare_metal is not set
   180 CT_KERNEL_linux=y
   181 CT_KERNEL_bare_metal_AVAILABLE=y
   182 CT_KERNEL_linux_AVAILABLE=y
   183 # CT_KERNEL_V_3_0_4 is not set
   184 # CT_KERNEL_V_3_0_3 is not set
   185 # CT_KERNEL_V_3_0_2 is not set
   186 # CT_KERNEL_V_3_0_1 is not set
   187 # CT_KERNEL_V_3_0 is not set
   188 # CT_KERNEL_V_2_6_39_4 is not set
   189 # CT_KERNEL_V_2_6_38_8 is not set
   190 # CT_KERNEL_V_2_6_37_6 is not set
   191 # CT_KERNEL_V_2_6_36_4 is not set
   192 # CT_KERNEL_V_2_6_35_14 is not set
   193 # CT_KERNEL_V_2_6_34_10 is not set
   194 # CT_KERNEL_V_2_6_33_19 is not set
   195 # CT_KERNEL_V_2_6_32_46 is not set
   196 CT_KERNEL_V_2_6_31_14=y
   197 # CT_KERNEL_V_2_6_27_59 is not set
   198 # CT_KERNEL_LINUX_CUSTOM is not set
   199 CT_KERNEL_mingw32_AVAILABLE=y
   200 
   201 #
   202 # Common kernel options
   203 #
   204 CT_SHARED_LIBS=y
   205 
   206 #
   207 # linux other options
   208 #
   209 CT_KERNEL_LINUX_VERBOSITY_0=y
   210 # CT_KERNEL_LINUX_VERBOSITY_1 is not set
   211 # CT_KERNEL_LINUX_VERBOSITY_2 is not set
   212 CT_KERNEL_LINUX_VERBOSE_LEVEL=0
   213 CT_KERNEL_LINUX_INSTALL_CHECK=y
   214 
   215 #
   216 # Binary utilities
   217 #
   218 CT_ARCH_BINFMT_ELF=y
   219 
   220 #
   221 # GNU binutils
   222 #
   223 # CT_BINUTILS_V_2_21_53 is not set
   224 # CT_BINUTILS_V_2_21_1a is not set
   225 CT_BINUTILS_V_2_20_1a=y
   226 # CT_BINUTILS_V_2_19_1a is not set
   227 # CT_BINUTILS_V_2_18a is not set
   228 CT_BINUTILS_VERSION="2.20.1a"
   229 CT_BINUTILS_2_20_or_later=y
   230 CT_BINUTILS_2_19_or_later=y
   231 CT_BINUTILS_2_18_or_later=y
   232 CT_BINUTILS_HAS_PKGVERSION_BUGURL=y
   233 CT_BINUTILS_FORCE_LD_BFD=y
   234 CT_BINUTILS_LINKER_LD=y
   235 CT_BINUTILS_LINKERS_LIST="ld"
   236 CT_BINUTILS_LINKER_DEFAULT="bfd"
   237 CT_BINUTILS_EXTRA_CONFIG_ARRAY=""
   238 # CT_BINUTILS_FOR_TARGET is not set
   239 
   240 #
   241 # C compiler
   242 #
   243 CT_CC="gcc"
   244 CT_CC_VERSION="4.3.4"
   245 CT_CC_gcc=y
   246 # CT_CC_GCC_SHOW_LINARO is not set
   247 # CT_CC_V_4_6_1 is not set
   248 # CT_CC_V_4_6_0 is not set
   249 # CT_CC_V_4_5_3 is not set
   250 # CT_CC_V_4_5_2 is not set
   251 # CT_CC_V_4_5_1 is not set
   252 # CT_CC_V_4_5_0 is not set
   253 # CT_CC_V_4_4_6 is not set
   254 # CT_CC_V_4_4_5 is not set
   255 # CT_CC_V_4_4_4 is not set
   256 # CT_CC_V_4_4_3 is not set
   257 # CT_CC_V_4_4_2 is not set
   258 # CT_CC_V_4_4_1 is not set
   259 # CT_CC_V_4_4_0 is not set
   260 # CT_CC_V_4_3_6 is not set
   261 # CT_CC_V_4_3_5 is not set
   262 CT_CC_V_4_3_4=y
   263 # CT_CC_V_4_3_3 is not set
   264 # CT_CC_V_4_3_2 is not set
   265 # CT_CC_V_4_3_1 is not set
   266 # CT_CC_V_4_2_4 is not set
   267 # CT_CC_V_4_2_2 is not set
   268 CT_CC_GCC_4_2_or_later=y
   269 CT_CC_GCC_4_3=y
   270 CT_CC_GCC_4_3_or_later=y
   271 CT_CC_GCC_HAS_PKGVERSION_BUGURL=y
   272 CT_CC_GCC_USE_GMP_MPFR=y
   273 # CT_CC_LANG_FORTRAN is not set
   274 CT_CC_SUPPORT_CXX=y
   275 CT_CC_SUPPORT_FORTRAN=y
   276 CT_CC_SUPPORT_JAVA=y
   277 CT_CC_SUPPORT_ADA=y
   278 CT_CC_SUPPORT_OBJC=y
   279 CT_CC_SUPPORT_OBJCXX=y
   280 
   281 #
   282 # Additional supported languages:
   283 #
   284 CT_CC_LANG_CXX=y
   285 # CT_CC_LANG_JAVA is not set
   286 # CT_CC_LANG_ADA is not set
   287 # CT_CC_LANG_OBJC is not set
   288 # CT_CC_LANG_OBJCXX is not set
   289 CT_CC_LANG_OTHERS=""
   290 
   291 #
   292 # gcc other options
   293 #
   294 CT_CC_ENABLE_CXX_FLAGS=""
   295 CT_CC_CORE_EXTRA_CONFIG_ARRAY=""
   296 CT_CC_EXTRA_CONFIG_ARRAY=""
   297 
   298 #
   299 # Optimisation features
   300 #
   301 
   302 #
   303 # Settings for libraries running on target
   304 #
   305 CT_CC_GCC_ENABLE_TARGET_OPTSPACE=y
   306 # CT_CC_GCC_LIBMUDFLAP is not set
   307 # CT_CC_GCC_LIBGOMP is not set
   308 # CT_CC_GCC_LIBSSP is not set
   309 
   310 #
   311 # Misc. obscure options.
   312 #
   313 CT_CC_CXA_ATEXIT=y
   314 # CT_CC_GCC_DISABLE_PCH is not set
   315 CT_CC_GCC_SJLJ_EXCEPTIONS=m
   316 CT_CC_GCC_LDBL_128=m
   317 
   318 #
   319 # C-library
   320 #
   321 CT_LIBC="glibc"
   322 CT_LIBC_VERSION="2.9"
   323 # CT_LIBC_eglibc is not set
   324 CT_LIBC_glibc=y
   325 # CT_LIBC_uClibc is not set
   326 CT_LIBC_eglibc_AVAILABLE=y
   327 CT_LIBC_glibc_AVAILABLE=y
   328 CT_LIBC_GLIBC_TARBALL=y
   329 # CT_LIBC_GLIBC_V_2_14 is not set
   330 # CT_LIBC_GLIBC_V_2_13 is not set
   331 # CT_LIBC_GLIBC_V_2_12_2 is not set
   332 # CT_LIBC_GLIBC_V_2_12_1 is not set
   333 # CT_LIBC_GLIBC_V_2_11_1 is not set
   334 # CT_LIBC_GLIBC_V_2_11 is not set
   335 # CT_LIBC_GLIBC_V_2_10_1 is not set
   336 CT_LIBC_GLIBC_V_2_9=y
   337 # CT_LIBC_GLIBC_V_2_8 is not set
   338 CT_LIBC_mingw_AVAILABLE=y
   339 CT_LIBC_newlib_AVAILABLE=y
   340 CT_LIBC_none_AVAILABLE=y
   341 CT_LIBC_uClibc_AVAILABLE=y
   342 CT_LIBC_SUPPORT_THREADS_ANY=y
   343 CT_LIBC_SUPPORT_NPTL=y
   344 CT_THREADS="nptl"
   345 
   346 #
   347 # Common C library options
   348 #
   349 CT_THREADS_NPTL=y
   350 CT_LIBC_XLDD=y
   351 CT_LIBC_glibc_familly=y
   352 CT_LIBC_GLIBC_EXTRA_CONFIG_ARRAY=""
   353 CT_LIBC_GLIBC_CONFIGPARMS=""
   354 CT_LIBC_GLIBC_EXTRA_CFLAGS=""
   355 CT_LIBC_EXTRA_CC_ARGS=""
   356 # CT_LIBC_ENABLE_FORTIFIED_BUILD is not set
   357 # CT_LIBC_DISABLE_VERSIONING is not set
   358 CT_LIBC_OLDEST_ABI=""
   359 CT_LIBC_GLIBC_FORCE_UNWIND=y
   360 # CT_LIBC_GLIBC_USE_PORTS is not set
   361 CT_LIBC_ADDONS_LIST=""
   362 # CT_LIBC_LOCALES is not set
   363 # CT_LIBC_GLIBC_KERNEL_VERSION_NONE is not set
   364 CT_LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS=y
   365 # CT_LIBC_GLIBC_KERNEL_VERSION_CHOSEN is not set
   366 CT_LIBC_GLIBC_MIN_KERNEL="2.6.31.14"
   367 
   368 #
   369 # glibc other options
   370 #
   371 
   372 #
   373 # Debug facilities
   374 #
   375 # CT_DEBUG_dmalloc is not set
   376 # CT_DEBUG_duma is not set
   377 # CT_DEBUG_gdb is not set
   378 # CT_DEBUG_ltrace is not set
   379 # CT_DEBUG_strace is not set
   380 
   381 #
   382 # Companion libraries
   383 #
   384 CT_COMPLIBS_NEEDED=y
   385 CT_GMP_NEEDED=y
   386 CT_MPFR_NEEDED=y
   387 CT_COMPLIBS=y
   388 CT_GMP=y
   389 CT_MPFR=y
   390 # CT_GMP_V_5_0_2 is not set
   391 # CT_GMP_V_5_0_1 is not set
   392 CT_GMP_V_4_3_2=y
   393 # CT_GMP_V_4_3_1 is not set
   394 # CT_GMP_V_4_3_0 is not set
   395 CT_GMP_VERSION="4.3.2"
   396 # CT_MPFR_V_3_0_1 is not set
   397 # CT_MPFR_V_3_0_0 is not set
   398 CT_MPFR_V_2_4_2=y
   399 # CT_MPFR_V_2_4_1 is not set
   400 # CT_MPFR_V_2_4_0 is not set
   401 CT_MPFR_VERSION="2.4.2"
   402 
   403 #
   404 # Companion libraries common options
   405 #
   406 # CT_COMPLIBS_CHECK is not set
   407 
   408 #
   409 # Companion tools
   410 #
   411 
   412 #
   413 # READ HELP before you say 'Y' below !!!
   414 #
   415 # CT_COMP_TOOLS is not set
   416 
   417 #
   418 # Test suite
   419 #
   420 # CT_TEST_SUITE_GCC is not set