samples/mips-unknown-linux-uclibc/crosstool.config
author Anthony Foiani <anthony.foiani@gmail.com>
Thu May 19 23:06:16 2011 +0200 (2011-05-19)
branch1.11
changeset 2464 4b844234d214
parent 2290 ba82eb173bd4
child 2581 181206f4bdbc
permissions -rw-r--r--
complibs/ppl: build only C and C++ interfaces for PPL

By default, PPL wants to build interfaces for any of a variety of
langauges it finds on the local host (python, java, possibly perl, also
more esoteric languages such as ocaml and prolog).

These extra interfaces can double the compile time for the library. For
single-process builds, I found a savings of more than 40%:

default / j1: 716s total, 143.2s avg, 0.52s stdev
just_c / j1: 406s total, 81.2s avg, 0.33s stdev
just_c_cpp / j1: 413s total, 82.6s avg, 0.22s stdev

And for multi-process builds, it approached 50%:

default / j4: 625s total, 125.0s avg, 0.57s stdev
just_c / j4: 338s total, 67.6s avg, 1.25s stdev
just_c_cpp / j4: 327s total, 65.4s avg, 0.36s stdev

Since the PPL we build within ct-ng is only used by GCC, we only need to
build the C and C++ interfaces.

Signed-Off-By: Anthony Foiani <anthony.foiani@gmail.com>
(transplanted from ec30b191f0e3fe9bc73199f0bcb8d789db17aa92)
     1 #
     2 # Automatically generated make config: don't edit
     3 # crosstool-NG version: hg_default@2421_9a6bc21d4387
     4 # Thu Apr 28 19:31:10 2011
     5 #
     6 # CT_BACKEND is not set
     7 CT_MODULES=y
     8 
     9 #
    10 # Paths and misc options
    11 #
    12 
    13 #
    14 # crosstool-NG behavior
    15 #
    16 # CT_OBSOLETE is not set
    17 # CT_EXPERIMENTAL is not set
    18 # CT_DEBUG_CT is not set
    19 
    20 #
    21 # Paths
    22 #
    23 CT_LOCAL_TARBALLS_DIR="${HOME}/src"
    24 CT_SAVE_TARBALLS=y
    25 CT_WORK_DIR="${CT_TOP_DIR}/.build"
    26 CT_PREFIX_DIR="${HOME}/x-tools/${CT_TARGET}"
    27 CT_INSTALL_DIR="${CT_PREFIX_DIR}"
    28 CT_RM_RF_PREFIX_DIR=y
    29 CT_REMOVE_DOCS=y
    30 CT_INSTALL_DIR_RO=y
    31 CT_STRIP_ALL_TOOLCHAIN_EXECUTABLES=y
    32 
    33 #
    34 # Downloading
    35 #
    36 # CT_FORBID_DOWNLOAD is not set
    37 # CT_FORCE_DOWNLOAD is not set
    38 CT_USE_MIRROR=y
    39 # CT_PREFER_MIRROR is not set
    40 CT_MIRROR_BASE_URL="http://ymorin.is-a-geek.org/mirrors/"
    41 CT_CONNECT_TIMEOUT=10
    42 # CT_ONLY_DOWNLOAD 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 # CT_PATCH_SINGLE is not set
    59 # CT_PATCH_USE_LOCAL is not set
    60 
    61 #
    62 # Build behavior
    63 #
    64 CT_PARALLEL_JOBS=1
    65 CT_LOAD=0
    66 CT_USE_PIPES=y
    67 # CT_CONFIG_SHELL_SH is not set
    68 # CT_CONFIG_SHELL_ASH is not set
    69 CT_CONFIG_SHELL_BASH=y
    70 # CT_CONFIG_SHELL_CUSTOM is not set
    71 CT_CONFIG_SHELL="bash"
    72 
    73 #
    74 # Logging
    75 #
    76 # CT_LOG_ERROR is not set
    77 # CT_LOG_WARN is not set
    78 # CT_LOG_INFO is not set
    79 CT_LOG_EXTRA=y
    80 # CT_LOG_ALL is not set
    81 # CT_LOG_DEBUG is not set
    82 CT_LOG_LEVEL_MAX="EXTRA"
    83 # CT_LOG_SEE_TOOLS_WARN is not set
    84 CT_LOG_PROGRESS_BAR=y
    85 CT_LOG_TO_FILE=y
    86 CT_LOG_FILE_COMPRESS=y
    87 
    88 #
    89 # Target options
    90 #
    91 CT_ARCH="mips"
    92 # CT_ARCH_SUPPORTS_BOTH_MMU is not set
    93 CT_ARCH_SUPPORTS_BOTH_ENDIAN=y
    94 CT_ARCH_SUPPORTS_32=y
    95 # CT_ARCH_SUPPORTS_64 is not set
    96 CT_ARCH_SUPPORT_ARCH=y
    97 # CT_ARCH_SUPPORT_ABI is not set
    98 # CT_ARCH_SUPPORT_CPU is not set
    99 CT_ARCH_SUPPORT_TUNE=y
   100 # CT_ARCH_SUPPORT_FPU is not set
   101 # CT_ARCH_DEFAULT_HAS_MMU is not set
   102 CT_ARCH_DEFAULT_BE=y
   103 # CT_ARCH_DEFAULT_LE is not set
   104 CT_ARCH_DEFAULT_32=y
   105 # CT_ARCH_DEFAULT_64 is not set
   106 CT_ARCH_ARCH="mips1"
   107 CT_ARCH_TUNE=""
   108 CT_ARCH_BE=y
   109 # CT_ARCH_LE is not set
   110 CT_ARCH_32=y
   111 # CT_ARCH_64 is not set
   112 CT_ARCH_BITNESS=32
   113 # CT_ARCH_FLOAT_HW is not set
   114 CT_ARCH_FLOAT_SW=y
   115 CT_TARGET_CFLAGS=""
   116 CT_TARGET_LDFLAGS=""
   117 # CT_ARCH_alpha is not set
   118 # CT_ARCH_arm is not set
   119 # CT_ARCH_avr32 is not set
   120 # CT_ARCH_blackfin is not set
   121 # CT_ARCH_m68k is not set
   122 CT_ARCH_mips=y
   123 # CT_ARCH_powerpc is not set
   124 # CT_ARCH_s390 is not set
   125 # CT_ARCH_sh is not set
   126 # CT_ARCH_sparc is not set
   127 # CT_ARCH_x86 is not set
   128 CT_ARCH_alpha_AVAILABLE=y
   129 CT_ARCH_arm_AVAILABLE=y
   130 CT_ARCH_avr32_AVAILABLE=y
   131 CT_ARCH_blackfin_AVAILABLE=y
   132 CT_ARCH_m68k_AVAILABLE=y
   133 CT_ARCH_mips_AVAILABLE=y
   134 CT_ARCH_powerpc_AVAILABLE=y
   135 CT_ARCH_s390_AVAILABLE=y
   136 CT_ARCH_sh_AVAILABLE=y
   137 CT_ARCH_sparc_AVAILABLE=y
   138 CT_ARCH_x86_AVAILABLE=y
   139 
   140 #
   141 # Generic target options
   142 #
   143 CT_ARCH_USE_MMU=y
   144 
   145 #
   146 # Target optimisations
   147 #
   148 
   149 #
   150 # mips other options
   151 #
   152 CT_ARCH_mips_o32=y
   153 # CT_ARCH_mips_n32 is not set
   154 # CT_ARCH_mips_n64 is not set
   155 CT_ARCH_mips_ABI="32"
   156 
   157 #
   158 # Toolchain options
   159 #
   160 
   161 #
   162 # General toolchain options
   163 #
   164 CT_FORCE_SYSROOT=y
   165 CT_USE_SYSROOT=y
   166 CT_SYSROOT_NAME="sysroot"
   167 CT_SYSROOT_DIR_PREFIX=""
   168 
   169 #
   170 # Tuple completion and aliasing
   171 #
   172 CT_TARGET_VENDOR="unknown"
   173 CT_TARGET_ALIAS_SED_EXPR=""
   174 CT_TARGET_ALIAS=""
   175 
   176 #
   177 # Toolchain type
   178 #
   179 # CT_NATIVE is not set
   180 CT_CROSS=y
   181 # CT_CROSS_NATIVE is not set
   182 # CT_CANADIAN is not set
   183 CT_TOOLCHAIN_TYPE="cross"
   184 
   185 #
   186 # Build system
   187 #
   188 CT_BUILD=""
   189 CT_BUILD_PREFIX=""
   190 CT_BUILD_SUFFIX=""
   191 
   192 #
   193 # Operating System
   194 #
   195 # CT_BARE_METAL is not set
   196 # CT_MINGW32 is not set
   197 CT_KERNEL_SUPPORTS_SHARED_LIBS=y
   198 CT_KERNEL="linux"
   199 CT_KERNEL_VERSION="2.6.31.14"
   200 # CT_KERNEL_bare_metal is not set
   201 CT_KERNEL_linux=y
   202 # CT_KERNEL_mingw32 is not set
   203 CT_KERNEL_bare_metal_AVAILABLE=y
   204 CT_KERNEL_linux_AVAILABLE=y
   205 CT_KERNEL_mingw32_AVAILABLE=y
   206 
   207 #
   208 # Common kernel options
   209 #
   210 CT_SHARED_LIBS=y
   211 
   212 #
   213 # linux other options
   214 #
   215 CT_KERNEL_LINUX_INSTALL=y
   216 # CT_KERNEL_LINUX_USE_CUSTOM_HEADERS is not set
   217 # CT_KERNEL_V_2_6_38_4 is not set
   218 # CT_KERNEL_V_2_6_38_3 is not set
   219 # CT_KERNEL_V_2_6_38_2 is not set
   220 # CT_KERNEL_V_2_6_38_1 is not set
   221 # CT_KERNEL_V_2_6_38 is not set
   222 # CT_KERNEL_V_2_6_37_6 is not set
   223 # CT_KERNEL_V_2_6_36_4 is not set
   224 # CT_KERNEL_V_2_6_35_13 is not set
   225 # CT_KERNEL_V_2_6_34_9 is not set
   226 # CT_KERNEL_V_2_6_33_12 is not set
   227 # CT_KERNEL_V_2_6_32_39 is not set
   228 CT_KERNEL_V_2_6_31_14=y
   229 # CT_KERNEL_V_2_6_27_58 is not set
   230 # CT_KERNEL_LINUX_CUSTOM is not set
   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 # CT_ARCH_BINFMT_FLAT is not set
   242 # CT_ARCH_BINFMT_FDPIC is not set
   243 
   244 #
   245 # GNU binutils
   246 #
   247 # CT_BINUTILS_V_2_21 is not set
   248 # CT_BINUTILS_V_2_20_1 is not set
   249 # CT_BINUTILS_V_2_20 is not set
   250 CT_BINUTILS_V_2_19_1=y
   251 # CT_BINUTILS_V_2_19 is not set
   252 # CT_BINUTILS_V_2_18 is not set
   253 # CT_BINUTILS_V_2_17 is not set
   254 # CT_BINUTILS_V_2_16_1 is not set
   255 CT_BINUTILS_VERSION="2.19.1"
   256 CT_BINUTILS_LINKER_LD=y
   257 # CT_BINUTILS_LINKER_GOLD is not set
   258 # CT_BINUTILS_LINKER_LD_GOLD is not set
   259 # CT_BINUTILS_LINKER_GOLD_LD is not set
   260 CT_BINUTILS_LINKERS_LIST="ld"
   261 CT_BINUTILS_LINKER_DEFAULT="bfd"
   262 CT_BINUTILS_EXTRA_CONFIG=""
   263 CT_BINUTILS_FOR_TARGET=y
   264 CT_BINUTILS_FOR_TARGET_IBERTY=y
   265 CT_BINUTILS_FOR_TARGET_BFD=y
   266 
   267 #
   268 # C compiler
   269 #
   270 CT_CC="gcc"
   271 CT_CC_VERSION="4.3.2"
   272 CT_CC_gcc=y
   273 # CT_CC_V_linaro_4_6_2011_04_0 is not set
   274 # CT_CC_V_4_6_0 is not set
   275 # CT_CC_V_linaro_4_5_2011_04_0 is not set
   276 # CT_CC_V_4_5_2 is not set
   277 # CT_CC_V_4_5_1 is not set
   278 # CT_CC_V_4_5_0 is not set
   279 # CT_CC_V_linaro_4_4_2011_02_0 is not set
   280 # CT_CC_V_4_4_6 is not set
   281 # CT_CC_V_4_4_5 is not set
   282 # CT_CC_V_4_4_4 is not set
   283 # CT_CC_V_4_4_3 is not set
   284 # CT_CC_V_4_4_2 is not set
   285 # CT_CC_V_4_4_1 is not set
   286 # CT_CC_V_4_4_0 is not set
   287 # CT_CC_V_4_3_5 is not set
   288 # CT_CC_V_4_3_4 is not set
   289 # CT_CC_V_4_3_3 is not set
   290 CT_CC_V_4_3_2=y
   291 # CT_CC_V_4_3_1 is not set
   292 # CT_CC_V_4_2_4 is not set
   293 # CT_CC_V_4_2_3 is not set
   294 # CT_CC_V_4_2_2 is not set
   295 # CT_CC_V_4_2_1 is not set
   296 # CT_CC_V_4_2_0 is not set
   297 # CT_CC_V_4_1_2 is not set
   298 # CT_CC_V_4_0_4 is not set
   299 # CT_CC_V_3_4_6 is not set
   300 # CT_CC_GCC_4_2 is not set
   301 CT_CC_GCC_4_2_or_later=y
   302 CT_CC_GCC_4_3=y
   303 CT_CC_GCC_4_3_or_later=y
   304 # CT_CC_GCC_4_4 is not set
   305 # CT_CC_GCC_4_4_or_later is not set
   306 # CT_CC_GCC_4_5 is not set
   307 # CT_CC_GCC_4_5_or_later is not set
   308 # CT_CC_GCC_4_6 is not set
   309 # CT_CC_GCC_4_6_or_later is not set
   310 # CT_CC_GCC_HAS_GRAPHITE is not set
   311 # CT_CC_GCC_HAS_LTO is not set
   312 CT_CC_GCC_USE_GMP_MPFR=y
   313 # CT_CC_GCC_USE_PPL_CLOOG is not set
   314 # CT_CC_GCC_USE_MPC is not set
   315 # CT_CC_GCC_USE_LIBELF is not set
   316 CT_CC_SUPPORT_CXX=y
   317 CT_CC_SUPPORT_FORTRAN=y
   318 CT_CC_SUPPORT_JAVA=y
   319 CT_CC_SUPPORT_ADA=y
   320 CT_CC_SUPPORT_OBJC=y
   321 CT_CC_SUPPORT_OBJCXX=y
   322 
   323 #
   324 # Additional supported languages:
   325 #
   326 CT_CC_LANG_CXX=y
   327 CT_CC_LANG_FORTRAN=y
   328 # CT_CC_LANG_JAVA is not set
   329 
   330 #
   331 # gcc other options
   332 #
   333 CT_CC_PKGVERSION="crosstool-NG-${CT_VERSION}"
   334 CT_CC_BUGURL=""
   335 CT_CC_ENABLE_CXX_FLAGS=""
   336 CT_CC_CORE_EXTRA_CONFIG=""
   337 CT_CC_EXTRA_CONFIG=""
   338 
   339 #
   340 # Optimisation features
   341 #
   342 
   343 #
   344 # Settings for libraries running on target
   345 #
   346 CT_CC_GCC_ENABLE_TARGET_OPTSPACE=y
   347 # CT_CC_GCC_LIBMUDFLAP is not set
   348 # CT_CC_GCC_LIBGOMP is not set
   349 # CT_CC_GCC_LIBSSP is not set
   350 
   351 #
   352 # Misc. obscure options.
   353 #
   354 CT_CC_CXA_ATEXIT=y
   355 # CT_CC_GCC_DISABLE_PCH is not set
   356 CT_CC_GCC_SJLJ_EXCEPTIONS=m
   357 CT_CC_GCC_LDBL_128=m
   358 
   359 #
   360 # C-library
   361 #
   362 CT_LIBC="uClibc"
   363 CT_LIBC_VERSION="0.9.30.1"
   364 # CT_LIBC_eglibc is not set
   365 # CT_LIBC_glibc is not set
   366 # CT_LIBC_mingw is not set
   367 # CT_LIBC_newlib is not set
   368 # CT_LIBC_none is not set
   369 CT_LIBC_uClibc=y
   370 CT_LIBC_eglibc_AVAILABLE=y
   371 CT_LIBC_glibc_AVAILABLE=y
   372 CT_LIBC_mingw_AVAILABLE=y
   373 CT_LIBC_newlib_AVAILABLE=y
   374 CT_LIBC_none_AVAILABLE=y
   375 CT_LIBC_uClibc_AVAILABLE=y
   376 # CT_LIBC_UCLIBC_V_0_9_31 is not set
   377 # CT_LIBC_UCLIBC_V_0_9_30_3 is not set
   378 # CT_LIBC_UCLIBC_V_0_9_30_2 is not set
   379 CT_LIBC_UCLIBC_V_0_9_30_1=y
   380 # CT_LIBC_UCLIBC_V_0_9_30 is not set
   381 # CT_LIBC_UCLIBC_V_0_9_29 is not set
   382 # CT_LIBC_UCLIBC_V_0_9_28_3 is not set
   383 # CT_LIBC_UCLIBC_V_snapshot is not set
   384 # CT_LIBC_UCLIBC_V_specific_date is not set
   385 CT_LIBC_UCLIBC_0_9_30_or_later=y
   386 CT_LIBC_UCLIBC_PARALLEL=y
   387 CT_LIBC_UCLIBC_VERBOSITY_0=y
   388 # CT_LIBC_UCLIBC_VERBOSITY_1 is not set
   389 # CT_LIBC_UCLIBC_VERBOSITY_2 is not set
   390 CT_LIBC_UCLIBC_VERBOSITY=""
   391 CT_LIBC_UCLIBC_DEBUG_LEVEL_0=y
   392 # CT_LIBC_UCLIBC_DEBUG_LEVEL_1 is not set
   393 # CT_LIBC_UCLIBC_DEBUG_LEVEL_2 is not set
   394 CT_LIBC_UCLIBC_DEBUG_LEVEL=0
   395 CT_LIBC_UCLIBC_CONFIG_FILE="${CT_LIB_DIR}/samples/${CT_TARGET}/${CT_LIBC}-${CT_LIBC_VERSION}.config"
   396 CT_LIBC_SUPPORT_THREADS_ANY=y
   397 # CT_LIBC_SUPPORT_NPTL is not set
   398 CT_LIBC_SUPPORT_LINUXTHREADS=y
   399 # CT_LIBC_SUPPORT_WIN32THREADS is not set
   400 CT_LIBC_SUPPORT_THREADS_NONE=y
   401 CT_THREADS="linuxthreads"
   402 
   403 #
   404 # Common C library options
   405 #
   406 # CT_THREADS_NPTL is not set
   407 CT_THREADS_LINUXTHREADS=y
   408 # CT_THREADS_WIN32THREADS is not set
   409 # CT_THREADS_NONE is not set
   410 CT_LIBC_XLDD=y
   411 
   412 #
   413 # uClibc other options
   414 #
   415 CT_LIBC_UCLIBC_LNXTHRD_OLD=y
   416 # CT_LIBC_UCLIBC_LNXTHRD_NEW is not set
   417 CT_LIBC_UCLIBC_LNXTHRD="old"
   418 # CT_LIBC_UCLIBC_LOCALES is not set
   419 # CT_LIBC_UCLIBC_WCHAR is not set
   420 
   421 #
   422 # Debug facilities
   423 #
   424 CT_DEBUG_dmalloc=y
   425 CT_DMALLOC_V_5_5_2=y
   426 CT_DMALLOC_VERSION="5.5.2"
   427 CT_DEBUG_duma=y
   428 CT_DUMA_A=y
   429 CT_DUMA_SO=y
   430 CT_DUMA_V_2_5_15=y
   431 # CT_DUMA_V_2_5_14 is not set
   432 # CT_DUMA_V_2_5_12 is not set
   433 # CT_DUMA_V_2_5_8 is not set
   434 # CT_DUMA_V_2_5_1 is not set
   435 CT_DUMA_VERSION="2_5_15"
   436 CT_DEBUG_gdb=y
   437 CT_GDB_CROSS=y
   438 # CT_GDB_CROSS_STATIC is not set
   439 CT_GDB_NATIVE=y
   440 # CT_GDB_NATIVE_NO_STATIC is not set
   441 # CT_GDB_NATIVE_STATIC is not set
   442 CT_GDB_GDBSERVER=y
   443 CT_GDB_GDBSERVER_STATIC=y
   444 
   445 #
   446 # gdb version
   447 #
   448 # CT_GDB_V_linaro_7_2_2011_04_0 is not set
   449 # CT_GDB_V_7_2 is not set
   450 # CT_GDB_V_7_1 is not set
   451 # CT_GDB_V_7_0_1 is not set
   452 # CT_GDB_V_7_0 is not set
   453 CT_GDB_V_6_8=y
   454 CT_GDB_VERSION="6.8"
   455 # CT_DEBUG_ltrace is not set
   456 CT_DEBUG_strace=y
   457 # CT_STRACE_V_4_5_20 is not set
   458 CT_STRACE_V_4_5_19=y
   459 # CT_STRACE_V_4_5_18 is not set
   460 # CT_STRACE_V_4_5_17 is not set
   461 # CT_STRACE_V_4_5_16 is not set
   462 # CT_STRACE_V_4_5_15 is not set
   463 CT_STRACE_VERSION="4.5.19"
   464 
   465 #
   466 # Companion libraries
   467 #
   468 CT_COMPLIBS_NEEDED=y
   469 CT_GMP_NEEDED=y
   470 CT_MPFR_NEEDED=y
   471 # CT_PPL_NEEDED is not set
   472 # CT_CLOOG_NEEDED is not set
   473 # CT_MPC_NEEDED is not set
   474 # CT_LIBELF_NEEDED is not set
   475 CT_COMPLIBS=y
   476 CT_GMP=y
   477 CT_MPFR=y
   478 # CT_GMP_V_5_0_1 is not set
   479 CT_GMP_V_4_3_2=y
   480 # CT_GMP_V_4_3_1 is not set
   481 # CT_GMP_V_4_3_0 is not set
   482 # CT_GMP_V_4_2_4 is not set
   483 # CT_GMP_V_4_2_2 is not set
   484 CT_GMP_VERSION="4.3.2"
   485 # CT_MPFR_V_3_0_0 is not set
   486 CT_MPFR_V_2_4_2=y
   487 # CT_MPFR_V_2_4_1 is not set
   488 # CT_MPFR_V_2_4_0 is not set
   489 # CT_MPFR_V_2_3_2 is not set
   490 # CT_MPFR_V_2_3_1 is not set
   491 CT_MPFR_VERSION="2.4.2"
   492 
   493 #
   494 # Companion libraries common options
   495 #
   496 # CT_COMPLIBS_CHECK is not set