samples/i586-mingw32msvc,i686-none-linux-gnu/crosstool.config
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Fri Aug 19 00:52:05 2011 +0200 (2011-08-19)
branch1.12
changeset 2633 22e779b0a4ed
parent 2426 c28f755277eb
child 2724 a32156bd31c0
permissions -rw-r--r--
scripts: simplify and fix the toolchain config script

The script that is installed, and which sole purpose is to dump
the .config that was used to build the toolchain, is pure insanity.

Let's make it much, much more simpler...

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