samples/arm-unknown-linux-uclibcgnueabi/crosstool.config
author Michael Hope <michael.hope@linaro.org>
Wed Oct 19 15:27:32 2011 +1300 (2011-10-19)
changeset 2739 f320e22f2cba
parent 2601 f210031278e0
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@2721_7b64746b0ab3 Configuration
     4 # Sun Oct 16 17:22:42 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="arm"
    91 CT_ARCH_SUPPORTS_BOTH_MMU=y
    92 CT_ARCH_SUPPORTS_BOTH_ENDIAN=y
    93 CT_ARCH_SUPPORTS_32=y
    94 CT_ARCH_SUPPORT_ARCH=y
    95 CT_ARCH_SUPPORT_CPU=y
    96 CT_ARCH_SUPPORT_TUNE=y
    97 CT_ARCH_SUPPORT_FPU=y
    98 CT_ARCH_DEFAULT_HAS_MMU=y
    99 CT_ARCH_DEFAULT_LE=y
   100 CT_ARCH_DEFAULT_32=y
   101 CT_ARCH_ARCH="armv5te"
   102 CT_ARCH_CPU="xscale"
   103 CT_ARCH_TUNE="xscale"
   104 CT_ARCH_FPU=""
   105 # CT_ARCH_BE is not set
   106 CT_ARCH_LE=y
   107 CT_ARCH_32=y
   108 CT_ARCH_BITNESS=32
   109 # CT_ARCH_FLOAT_HW is not set
   110 CT_ARCH_FLOAT_SW=y
   111 CT_TARGET_CFLAGS=""
   112 CT_TARGET_LDFLAGS=""
   113 # CT_ARCH_alpha is not set
   114 CT_ARCH_arm=y
   115 # CT_ARCH_avr32 is not set
   116 # CT_ARCH_blackfin is not set
   117 # CT_ARCH_m68k is not set
   118 # CT_ARCH_mips is not set
   119 # CT_ARCH_powerpc is not set
   120 # CT_ARCH_s390 is not set
   121 # CT_ARCH_sh is not set
   122 # CT_ARCH_sparc is not set
   123 # CT_ARCH_x86 is not set
   124 CT_ARCH_alpha_AVAILABLE=y
   125 CT_ARCH_arm_AVAILABLE=y
   126 CT_ARCH_avr32_AVAILABLE=y
   127 CT_ARCH_blackfin_AVAILABLE=y
   128 CT_ARCH_m68k_AVAILABLE=y
   129 CT_ARCH_mips_AVAILABLE=y
   130 CT_ARCH_powerpc_AVAILABLE=y
   131 CT_ARCH_s390_AVAILABLE=y
   132 CT_ARCH_sh_AVAILABLE=y
   133 CT_ARCH_sparc_AVAILABLE=y
   134 CT_ARCH_x86_AVAILABLE=y
   135 
   136 #
   137 # Generic target options
   138 #
   139 CT_ARCH_USE_MMU=y
   140 
   141 #
   142 # Target optimisations
   143 #
   144 
   145 #
   146 # arm other options
   147 #
   148 CT_ARCH_ARM_MODE="arm"
   149 CT_ARCH_ARM_MODE_ARM=y
   150 # CT_ARCH_ARM_MODE_THUMB is not set
   151 # CT_ARCH_ARM_INTERWORKING is not set
   152 CT_ARCH_ARM_EABI=y
   153 
   154 #
   155 # Toolchain options
   156 #
   157 
   158 #
   159 # General toolchain options
   160 #
   161 CT_FORCE_SYSROOT=y
   162 CT_USE_SYSROOT=y
   163 CT_SYSROOT_NAME="sysroot"
   164 CT_SYSROOT_DIR_PREFIX=""
   165 CT_WANTS_STATIC_LINK=y
   166 # CT_STATIC_TOOLCHAIN is not set
   167 CT_TOOLCHAIN_PKGVERSION=""
   168 CT_TOOLCHAIN_BUGURL=""
   169 
   170 #
   171 # Tuple completion and aliasing
   172 #
   173 CT_TARGET_VENDOR="unknown"
   174 CT_TARGET_ALIAS_SED_EXPR=""
   175 CT_TARGET_ALIAS=""
   176 
   177 #
   178 # Toolchain type
   179 #
   180 # CT_NATIVE is not set
   181 CT_CROSS=y
   182 # CT_CROSS_NATIVE is not set
   183 # CT_CANADIAN is not set
   184 CT_TOOLCHAIN_TYPE="cross"
   185 
   186 #
   187 # Build system
   188 #
   189 CT_BUILD=""
   190 CT_BUILD_PREFIX=""
   191 CT_BUILD_SUFFIX=""
   192 
   193 #
   194 # Operating System
   195 #
   196 CT_KERNEL_SUPPORTS_SHARED_LIBS=y
   197 CT_KERNEL="linux"
   198 CT_KERNEL_VERSION="2.6.33.19"
   199 # CT_KERNEL_bare_metal is not set
   200 CT_KERNEL_linux=y
   201 CT_KERNEL_bare_metal_AVAILABLE=y
   202 CT_KERNEL_linux_AVAILABLE=y
   203 # CT_KERNEL_V_3_0_4 is not set
   204 # CT_KERNEL_V_3_0_3 is not set
   205 # CT_KERNEL_V_3_0_2 is not set
   206 # CT_KERNEL_V_3_0_1 is not set
   207 # CT_KERNEL_V_3_0 is not set
   208 # CT_KERNEL_V_2_6_39_4 is not set
   209 # CT_KERNEL_V_2_6_38_8 is not set
   210 # CT_KERNEL_V_2_6_37_6 is not set
   211 # CT_KERNEL_V_2_6_36_4 is not set
   212 # CT_KERNEL_V_2_6_35_14 is not set
   213 # CT_KERNEL_V_2_6_34_10 is not set
   214 CT_KERNEL_V_2_6_33_19=y
   215 # CT_KERNEL_V_2_6_32_46 is not set
   216 # CT_KERNEL_V_2_6_31_14 is not set
   217 # CT_KERNEL_V_2_6_27_59 is not set
   218 # CT_KERNEL_LINUX_CUSTOM is not set
   219 CT_KERNEL_mingw32_AVAILABLE=y
   220 
   221 #
   222 # Common kernel options
   223 #
   224 CT_SHARED_LIBS=y
   225 
   226 #
   227 # linux other options
   228 #
   229 CT_KERNEL_LINUX_VERBOSITY_0=y
   230 # CT_KERNEL_LINUX_VERBOSITY_1 is not set
   231 # CT_KERNEL_LINUX_VERBOSITY_2 is not set
   232 CT_KERNEL_LINUX_VERBOSE_LEVEL=0
   233 CT_KERNEL_LINUX_INSTALL_CHECK=y
   234 
   235 #
   236 # Binary utilities
   237 #
   238 CT_ARCH_BINFMT_ELF=y
   239 
   240 #
   241 # GNU binutils
   242 #
   243 # CT_BINUTILS_V_2_21_53 is not set
   244 # CT_BINUTILS_V_2_21_1a is not set
   245 # CT_BINUTILS_V_2_20_1a is not set
   246 CT_BINUTILS_V_2_19_1a=y
   247 # CT_BINUTILS_V_2_18a is not set
   248 CT_BINUTILS_VERSION="2.19.1a"
   249 CT_BINUTILS_2_19_or_later=y
   250 CT_BINUTILS_2_18_or_later=y
   251 CT_BINUTILS_GOLD_SUPPORTS_ARCH=y
   252 CT_BINUTILS_HAS_PKGVERSION_BUGURL=y
   253 CT_BINUTILS_LINKER_LD=y
   254 CT_BINUTILS_LINKERS_LIST="ld"
   255 CT_BINUTILS_LINKER_DEFAULT="bfd"
   256 CT_BINUTILS_EXTRA_CONFIG_ARRAY=""
   257 CT_BINUTILS_FOR_TARGET=y
   258 CT_BINUTILS_FOR_TARGET_IBERTY=y
   259 CT_BINUTILS_FOR_TARGET_BFD=y
   260 
   261 #
   262 # C compiler
   263 #
   264 CT_CC="gcc"
   265 CT_CC_VERSION="4.4.3"
   266 CT_CC_gcc=y
   267 # CT_CC_GCC_SHOW_LINARO is not set
   268 # CT_CC_V_4_6_1 is not set
   269 # CT_CC_V_4_6_0 is not set
   270 # CT_CC_V_4_5_3 is not set
   271 # CT_CC_V_4_5_2 is not set
   272 # CT_CC_V_4_5_1 is not set
   273 # CT_CC_V_4_5_0 is not set
   274 # CT_CC_V_4_4_6 is not set
   275 # CT_CC_V_4_4_5 is not set
   276 # CT_CC_V_4_4_4 is not set
   277 CT_CC_V_4_4_3=y
   278 # CT_CC_V_4_4_2 is not set
   279 # CT_CC_V_4_4_1 is not set
   280 # CT_CC_V_4_4_0 is not set
   281 # CT_CC_V_4_3_6 is not set
   282 # CT_CC_V_4_3_5 is not set
   283 # CT_CC_V_4_3_4 is not set
   284 # CT_CC_V_4_3_3 is not set
   285 # CT_CC_V_4_3_2 is not set
   286 # CT_CC_V_4_3_1 is not set
   287 # CT_CC_V_4_2_4 is not set
   288 # CT_CC_V_4_2_2 is not set
   289 CT_CC_GCC_4_2_or_later=y
   290 CT_CC_GCC_4_3_or_later=y
   291 CT_CC_GCC_4_4=y
   292 CT_CC_GCC_4_4_or_later=y
   293 CT_CC_GCC_HAS_GRAPHITE=y
   294 CT_CC_GCC_HAS_PKGVERSION_BUGURL=y
   295 CT_CC_GCC_USE_GMP_MPFR=y
   296 CT_CC_GCC_USE_PPL_CLOOG=y
   297 # CT_CC_LANG_FORTRAN is not set
   298 CT_CC_SUPPORT_CXX=y
   299 CT_CC_SUPPORT_FORTRAN=y
   300 CT_CC_SUPPORT_JAVA=y
   301 CT_CC_SUPPORT_ADA=y
   302 CT_CC_SUPPORT_OBJC=y
   303 CT_CC_SUPPORT_OBJCXX=y
   304 
   305 #
   306 # Additional supported languages:
   307 #
   308 CT_CC_LANG_CXX=y
   309 # CT_CC_LANG_JAVA is not set
   310 # CT_CC_LANG_ADA is not set
   311 # CT_CC_LANG_OBJC is not set
   312 # CT_CC_LANG_OBJCXX is not set
   313 CT_CC_LANG_OTHERS=""
   314 
   315 #
   316 # gcc other options
   317 #
   318 CT_CC_ENABLE_CXX_FLAGS=""
   319 CT_CC_CORE_EXTRA_CONFIG_ARRAY=""
   320 CT_CC_EXTRA_CONFIG_ARRAY=""
   321 CT_CC_STATIC_LIBSTDCXX=y
   322 
   323 #
   324 # Optimisation features
   325 #
   326 CT_CC_GCC_USE_GRAPHITE=y
   327 
   328 #
   329 # Settings for libraries running on target
   330 #
   331 CT_CC_GCC_ENABLE_TARGET_OPTSPACE=y
   332 # CT_CC_GCC_LIBMUDFLAP is not set
   333 # CT_CC_GCC_LIBGOMP is not set
   334 # CT_CC_GCC_LIBSSP is not set
   335 
   336 #
   337 # Misc. obscure options.
   338 #
   339 CT_CC_CXA_ATEXIT=y
   340 # CT_CC_GCC_DISABLE_PCH is not set
   341 CT_CC_GCC_SJLJ_EXCEPTIONS=m
   342 CT_CC_GCC_LDBL_128=m
   343 
   344 #
   345 # C-library
   346 #
   347 CT_LIBC="uClibc"
   348 CT_LIBC_VERSION="0.9.30.2"
   349 # CT_LIBC_eglibc is not set
   350 # CT_LIBC_glibc is not set
   351 CT_LIBC_uClibc=y
   352 CT_LIBC_eglibc_AVAILABLE=y
   353 CT_LIBC_glibc_AVAILABLE=y
   354 CT_LIBC_mingw_AVAILABLE=y
   355 CT_LIBC_newlib_AVAILABLE=y
   356 CT_LIBC_none_AVAILABLE=y
   357 CT_LIBC_uClibc_AVAILABLE=y
   358 # CT_LIBC_UCLIBC_V_0_9_32 is not set
   359 # CT_LIBC_UCLIBC_V_0_9_31 is not set
   360 # CT_LIBC_UCLIBC_V_0_9_30_3 is not set
   361 CT_LIBC_UCLIBC_V_0_9_30_2=y
   362 # CT_LIBC_UCLIBC_V_0_9_30_1 is not set
   363 # CT_LIBC_UCLIBC_V_0_9_30 is not set
   364 # CT_LIBC_UCLIBC_V_snapshot is not set
   365 # CT_LIBC_UCLIBC_V_specific_date is not set
   366 CT_LIBC_UCLIBC_0_9_30_or_later=y
   367 CT_LIBC_UCLIBC_PARALLEL=y
   368 CT_LIBC_UCLIBC_VERBOSITY_0=y
   369 # CT_LIBC_UCLIBC_VERBOSITY_1 is not set
   370 # CT_LIBC_UCLIBC_VERBOSITY_2 is not set
   371 CT_LIBC_UCLIBC_VERBOSITY=""
   372 CT_LIBC_UCLIBC_DEBUG_LEVEL_0=y
   373 # CT_LIBC_UCLIBC_DEBUG_LEVEL_1 is not set
   374 # CT_LIBC_UCLIBC_DEBUG_LEVEL_2 is not set
   375 CT_LIBC_UCLIBC_DEBUG_LEVEL=0
   376 CT_LIBC_UCLIBC_CONFIG_FILE="${CT_LIB_DIR}/samples/${CT_TARGET}/${CT_LIBC}-${CT_LIBC_VERSION}.config"
   377 CT_LIBC_SUPPORT_THREADS_ANY=y
   378 CT_LIBC_SUPPORT_LINUXTHREADS=y
   379 CT_LIBC_SUPPORT_THREADS_NONE=y
   380 CT_THREADS="linuxthreads"
   381 
   382 #
   383 # Common C library options
   384 #
   385 CT_THREADS_LINUXTHREADS=y
   386 # CT_THREADS_NONE is not set
   387 CT_LIBC_XLDD=y
   388 
   389 #
   390 # uClibc other options
   391 #
   392 CT_LIBC_UCLIBC_LNXTHRD_OLD=y
   393 # CT_LIBC_UCLIBC_LNXTHRD_NEW is not set
   394 CT_LIBC_UCLIBC_LNXTHRD="old"
   395 # CT_LIBC_UCLIBC_LOCALES is not set
   396 # CT_LIBC_UCLIBC_WCHAR is not set
   397 
   398 #
   399 # Debug facilities
   400 #
   401 CT_DEBUG_dmalloc=y
   402 CT_DMALLOC_V_5_5_2=y
   403 CT_DMALLOC_VERSION="5.5.2"
   404 CT_DEBUG_duma=y
   405 CT_DUMA_A=y
   406 CT_DUMA_SO=y
   407 CT_DUMA_V_2_5_15=y
   408 CT_DUMA_VERSION="2_5_15"
   409 CT_DEBUG_gdb=y
   410 CT_GDB_CROSS=y
   411 CT_GDB_CROSS_STATIC=y
   412 CT_GDB_NATIVE=y
   413 # CT_GDB_NATIVE_STATIC is not set
   414 CT_GDB_GDBSERVER=y
   415 CT_GDB_GDBSERVER_STATIC=y
   416 
   417 #
   418 # gdb version
   419 #
   420 # CT_DEBUG_GDB_SHOW_LINARO is not set
   421 # CT_GDB_V_7_3a is not set
   422 # CT_GDB_V_7_2a is not set
   423 CT_GDB_V_7_1a=y
   424 # CT_GDB_V_7_0_1a is not set
   425 # CT_GDB_V_7_0a is not set
   426 # CT_GDB_V_6_8a is not set
   427 CT_GDB_7_0_or_later=y
   428 CT_GDB_HAS_PKGVERSION_BUGURL=y
   429 CT_GDB_INSTALL_GDBINIT=y
   430 CT_GDB_VERSION="7.1a"
   431 CT_DEBUG_ltrace=y
   432 CT_LTRACE_V_0_5_3=y
   433 # CT_LTRACE_V_0_5_2 is not set
   434 CT_LTRACE_VERSION="0.5.3"
   435 CT_LTRACE_0_5_3_or_later=y
   436 CT_DEBUG_strace=y
   437 # CT_STRACE_V_4_5_20 is not set
   438 CT_STRACE_V_4_5_19=y
   439 # CT_STRACE_V_4_5_18 is not set
   440 CT_STRACE_VERSION="4.5.19"
   441 
   442 #
   443 # Companion libraries
   444 #
   445 CT_COMPLIBS_NEEDED=y
   446 CT_GMP_NEEDED=y
   447 CT_MPFR_NEEDED=y
   448 CT_PPL_NEEDED=y
   449 CT_CLOOG_NEEDED=y
   450 CT_COMPLIBS=y
   451 CT_GMP=y
   452 CT_MPFR=y
   453 CT_PPL=y
   454 CT_CLOOG=y
   455 CT_LIBELF_TARGET=y
   456 # CT_GMP_V_5_0_2 is not set
   457 # CT_GMP_V_5_0_1 is not set
   458 CT_GMP_V_4_3_2=y
   459 # CT_GMP_V_4_3_1 is not set
   460 # CT_GMP_V_4_3_0 is not set
   461 CT_GMP_VERSION="4.3.2"
   462 # CT_MPFR_V_3_0_1 is not set
   463 # CT_MPFR_V_3_0_0 is not set
   464 CT_MPFR_V_2_4_2=y
   465 # CT_MPFR_V_2_4_1 is not set
   466 # CT_MPFR_V_2_4_0 is not set
   467 CT_MPFR_VERSION="2.4.2"
   468 # CT_PPL_V_0_11_2 is not set
   469 # CT_PPL_V_0_11_1 is not set
   470 # CT_PPL_V_0_11 is not set
   471 CT_PPL_V_0_10_2=y
   472 CT_PPL_VERSION="0.10.2"
   473 # CT_CLOOG_V_0_15_11 is not set
   474 # CT_CLOOG_V_0_15_10 is not set
   475 CT_CLOOG_V_0_15_9=y
   476 # CT_CLOOG_V_0_15_8 is not set
   477 # CT_CLOOG_V_0_15_7 is not set
   478 # CT_CLOOG_V_0_15_6 is not set
   479 CT_CLOOG_VERSION="0.15.9"
   480 
   481 #
   482 # libelf version needed to build for target
   483 #
   484 CT_LIBELF_V_0_8_13=y
   485 # CT_LIBELF_V_0_8_12 is not set
   486 CT_LIBELF_VERSION="0.8.13"
   487 
   488 #
   489 # Companion libraries common options
   490 #
   491 # CT_COMPLIBS_CHECK is not set
   492 
   493 #
   494 # Companion tools
   495 #
   496 
   497 #
   498 # READ HELP before you say 'Y' below !!!
   499 #
   500 # CT_COMP_TOOLS is not set
   501 
   502 #
   503 # Test suite
   504 #
   505 # CT_TEST_SUITE_GCC is not set