samples/arm-unknown-eabi/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@2420_03af4faee169
     4 # Thu Apr 28 18:50:44 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="arm"
    92 CT_ARCH_SUPPORTS_BOTH_MMU=y
    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=y
    99 CT_ARCH_SUPPORT_TUNE=y
   100 CT_ARCH_SUPPORT_FPU=y
   101 CT_ARCH_DEFAULT_HAS_MMU=y
   102 # CT_ARCH_DEFAULT_BE is not set
   103 CT_ARCH_DEFAULT_LE=y
   104 CT_ARCH_DEFAULT_32=y
   105 # CT_ARCH_DEFAULT_64 is not set
   106 CT_ARCH_ARCH=""
   107 CT_ARCH_CPU=""
   108 CT_ARCH_TUNE=""
   109 CT_ARCH_FPU=""
   110 # CT_ARCH_BE is not set
   111 CT_ARCH_LE=y
   112 CT_ARCH_32=y
   113 # CT_ARCH_64 is not set
   114 CT_ARCH_BITNESS=32
   115 CT_ARCH_FLOAT_HW=y
   116 # CT_ARCH_FLOAT_SW is not set
   117 CT_TARGET_CFLAGS=""
   118 CT_TARGET_LDFLAGS=""
   119 # CT_ARCH_alpha is not set
   120 CT_ARCH_arm=y
   121 # CT_ARCH_avr32 is not set
   122 # CT_ARCH_blackfin is not set
   123 # CT_ARCH_m68k is not set
   124 # CT_ARCH_mips is not set
   125 # CT_ARCH_powerpc is not set
   126 # CT_ARCH_s390 is not set
   127 # CT_ARCH_sh is not set
   128 # CT_ARCH_sparc is not set
   129 # CT_ARCH_x86 is not set
   130 CT_ARCH_alpha_AVAILABLE=y
   131 CT_ARCH_arm_AVAILABLE=y
   132 CT_ARCH_avr32_AVAILABLE=y
   133 CT_ARCH_blackfin_AVAILABLE=y
   134 CT_ARCH_m68k_AVAILABLE=y
   135 CT_ARCH_mips_AVAILABLE=y
   136 CT_ARCH_powerpc_AVAILABLE=y
   137 CT_ARCH_s390_AVAILABLE=y
   138 CT_ARCH_sh_AVAILABLE=y
   139 CT_ARCH_sparc_AVAILABLE=y
   140 CT_ARCH_x86_AVAILABLE=y
   141 
   142 #
   143 # Generic target options
   144 #
   145 CT_ARCH_USE_MMU=y
   146 
   147 #
   148 # Target optimisations
   149 #
   150 
   151 #
   152 # arm other options
   153 #
   154 CT_ARCH_ARM_MODE="arm"
   155 CT_ARCH_ARM_MODE_ARM=y
   156 # CT_ARCH_ARM_MODE_THUMB is not set
   157 CT_ARCH_ARM_EABI=y
   158 
   159 #
   160 # Toolchain options
   161 #
   162 
   163 #
   164 # General toolchain options
   165 #
   166 CT_FORCE_SYSROOT=y
   167 CT_USE_SYSROOT=y
   168 CT_SYSROOT_NAME="sysroot"
   169 CT_SYSROOT_DIR_PREFIX=""
   170 
   171 #
   172 # Tuple completion and aliasing
   173 #
   174 CT_TARGET_VENDOR="unknown"
   175 CT_TARGET_ALIAS_SED_EXPR=""
   176 CT_TARGET_ALIAS=""
   177 
   178 #
   179 # Toolchain type
   180 #
   181 # CT_NATIVE is not set
   182 CT_CROSS=y
   183 # CT_CROSS_NATIVE is not set
   184 # CT_CANADIAN is not set
   185 CT_TOOLCHAIN_TYPE="cross"
   186 
   187 #
   188 # Build system
   189 #
   190 CT_BUILD=""
   191 CT_BUILD_PREFIX=""
   192 CT_BUILD_SUFFIX=""
   193 
   194 #
   195 # Operating System
   196 #
   197 CT_BARE_METAL=y
   198 # CT_MINGW32 is not set
   199 # CT_KERNEL_SUPPORTS_SHARED_LIBS is not set
   200 CT_KERNEL="bare-metal"
   201 CT_KERNEL_bare_metal=y
   202 # CT_KERNEL_linux is not set
   203 # CT_KERNEL_mingw32 is not set
   204 CT_KERNEL_bare_metal_AVAILABLE=y
   205 CT_KERNEL_linux_AVAILABLE=y
   206 CT_KERNEL_mingw32_AVAILABLE=y
   207 
   208 #
   209 # Common kernel options
   210 #
   211 
   212 #
   213 # Binary utilities
   214 #
   215 CT_ARCH_BINFMT_ELF=y
   216 # CT_ARCH_BINFMT_FLAT is not set
   217 # CT_ARCH_BINFMT_FDPIC is not set
   218 
   219 #
   220 # GNU binutils
   221 #
   222 # CT_BINUTILS_V_2_21 is not set
   223 # CT_BINUTILS_V_2_20_1 is not set
   224 # CT_BINUTILS_V_2_20 is not set
   225 CT_BINUTILS_V_2_19_1=y
   226 # CT_BINUTILS_V_2_19 is not set
   227 # CT_BINUTILS_V_2_18 is not set
   228 # CT_BINUTILS_V_2_17 is not set
   229 # CT_BINUTILS_V_2_16_1 is not set
   230 CT_BINUTILS_VERSION="2.19.1"
   231 CT_BINUTILS_GOLD_SUPPORTS_ARCH=y
   232 CT_BINUTILS_LINKER_LD=y
   233 # CT_BINUTILS_LINKER_GOLD is not set
   234 # CT_BINUTILS_LINKER_LD_GOLD is not set
   235 # CT_BINUTILS_LINKER_GOLD_LD is not set
   236 CT_BINUTILS_LINKERS_LIST="ld"
   237 CT_BINUTILS_LINKER_DEFAULT="bfd"
   238 CT_BINUTILS_EXTRA_CONFIG=""
   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_V_linaro_4_6_2011_04_0 is not set
   247 # CT_CC_V_4_6_0 is not set
   248 # CT_CC_V_linaro_4_5_2011_04_0 is not set
   249 # CT_CC_V_4_5_2 is not set
   250 # CT_CC_V_4_5_1 is not set
   251 # CT_CC_V_4_5_0 is not set
   252 # CT_CC_V_linaro_4_4_2011_02_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_5 is not set
   261 CT_CC_V_4_3_4=y
   262 # CT_CC_V_4_3_3 is not set
   263 # CT_CC_V_4_3_2 is not set
   264 # CT_CC_V_4_3_1 is not set
   265 # CT_CC_V_4_2_4 is not set
   266 # CT_CC_V_4_2_3 is not set
   267 # CT_CC_V_4_2_2 is not set
   268 # CT_CC_V_4_2_1 is not set
   269 # CT_CC_V_4_2_0 is not set
   270 # CT_CC_V_4_1_2 is not set
   271 # CT_CC_V_4_0_4 is not set
   272 # CT_CC_V_3_4_6 is not set
   273 # CT_CC_GCC_4_2 is not set
   274 CT_CC_GCC_4_2_or_later=y
   275 CT_CC_GCC_4_3=y
   276 CT_CC_GCC_4_3_or_later=y
   277 # CT_CC_GCC_4_4 is not set
   278 # CT_CC_GCC_4_4_or_later is not set
   279 # CT_CC_GCC_4_5 is not set
   280 # CT_CC_GCC_4_5_or_later is not set
   281 # CT_CC_GCC_4_6 is not set
   282 # CT_CC_GCC_4_6_or_later is not set
   283 # CT_CC_GCC_HAS_GRAPHITE is not set
   284 # CT_CC_GCC_HAS_LTO is not set
   285 CT_CC_GCC_USE_GMP_MPFR=y
   286 # CT_CC_GCC_USE_PPL_CLOOG is not set
   287 # CT_CC_GCC_USE_MPC is not set
   288 # CT_CC_GCC_USE_LIBELF is not set
   289 CT_CC_SUPPORT_CXX=y
   290 CT_CC_SUPPORT_FORTRAN=y
   291 CT_CC_SUPPORT_JAVA=y
   292 CT_CC_SUPPORT_ADA=y
   293 CT_CC_SUPPORT_OBJC=y
   294 CT_CC_SUPPORT_OBJCXX=y
   295 
   296 #
   297 # Additional supported languages:
   298 #
   299 CT_CC_LANG_CXX=y
   300 
   301 #
   302 # gcc other options
   303 #
   304 CT_CC_PKGVERSION="crosstool-NG-${CT_VERSION}"
   305 CT_CC_BUGURL=""
   306 CT_CC_ENABLE_CXX_FLAGS=""
   307 CT_CC_CORE_EXTRA_CONFIG=""
   308 
   309 #
   310 # Optimisation features
   311 #
   312 
   313 #
   314 # Settings for libraries running on target
   315 #
   316 CT_CC_GCC_ENABLE_TARGET_OPTSPACE=y
   317 # CT_CC_GCC_LIBMUDFLAP is not set
   318 # CT_CC_GCC_LIBGOMP is not set
   319 # CT_CC_GCC_LIBSSP is not set
   320 
   321 #
   322 # Misc. obscure options.
   323 #
   324 # CT_CC_GCC_DISABLE_PCH is not set
   325 CT_CC_GCC_LDBL_128=m
   326 
   327 #
   328 # C-library
   329 #
   330 CT_LIBC="newlib"
   331 CT_LIBC_VERSION="1.17.0"
   332 # CT_LIBC_eglibc is not set
   333 # CT_LIBC_glibc is not set
   334 # CT_LIBC_mingw is not set
   335 CT_LIBC_newlib=y
   336 # CT_LIBC_none is not set
   337 # CT_LIBC_uClibc is not set
   338 CT_LIBC_eglibc_AVAILABLE=y
   339 CT_LIBC_glibc_AVAILABLE=y
   340 CT_LIBC_mingw_AVAILABLE=y
   341 CT_LIBC_newlib_AVAILABLE=y
   342 # CT_LIBC_NEWLIB_V_1_18_0 is not set
   343 CT_LIBC_NEWLIB_V_1_17_0=y
   344 # CT_LIBC_NEWLIB_CVS is not set
   345 
   346 #
   347 # Architecture specific options
   348 #
   349 CT_LIBC_none_AVAILABLE=y
   350 CT_LIBC_uClibc_AVAILABLE=y
   351 # CT_LIBC_SUPPORT_THREADS_ANY is not set
   352 # CT_LIBC_SUPPORT_NPTL is not set
   353 # CT_LIBC_SUPPORT_LINUXTHREADS is not set
   354 # CT_LIBC_SUPPORT_WIN32THREADS is not set
   355 CT_LIBC_SUPPORT_THREADS_NONE=y
   356 CT_THREADS="none"
   357 
   358 #
   359 # Common C library options
   360 #
   361 # CT_THREADS_NPTL is not set
   362 # CT_THREADS_LINUXTHREADS is not set
   363 # CT_THREADS_WIN32THREADS is not set
   364 CT_THREADS_NONE=y
   365 
   366 #
   367 # newlib other options
   368 #
   369 # CT_LIBC_NEWLIB_IO_C99FMT is not set
   370 # CT_LIBC_NEWLIB_IO_LL is not set
   371 # CT_LIBC_NEWLIB_IO_FLOAT is not set
   372 
   373 #
   374 # Debug facilities
   375 #
   376 # CT_DEBUG_dmalloc is not set
   377 # CT_DEBUG_duma is not set
   378 CT_DEBUG_gdb=y
   379 CT_GDB_CROSS=y
   380 # CT_GDB_CROSS_STATIC is not set
   381 
   382 #
   383 # In bare-metal, you'll need to   
   384 #
   385 
   386 #
   387 # provide your own gdbserver stub.
   388 #
   389 
   390 #
   391 # gdb version
   392 #
   393 # CT_GDB_V_linaro_7_2_2011_04_0 is not set
   394 # CT_GDB_V_7_2 is not set
   395 # CT_GDB_V_7_1 is not set
   396 # CT_GDB_V_7_0_1 is not set
   397 # CT_GDB_V_7_0 is not set
   398 CT_GDB_V_6_8=y
   399 CT_GDB_VERSION="6.8"
   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_PPL_NEEDED is not set
   410 # CT_CLOOG_NEEDED is not set
   411 # CT_MPC_NEEDED is not set
   412 # CT_LIBELF_NEEDED is not set
   413 CT_COMPLIBS=y
   414 CT_GMP=y
   415 CT_MPFR=y
   416 # CT_GMP_V_5_0_1 is not set
   417 CT_GMP_V_4_3_2=y
   418 # CT_GMP_V_4_3_1 is not set
   419 # CT_GMP_V_4_3_0 is not set
   420 # CT_GMP_V_4_2_4 is not set
   421 # CT_GMP_V_4_2_2 is not set
   422 CT_GMP_VERSION="4.3.2"
   423 # CT_MPFR_V_3_0_0 is not set
   424 CT_MPFR_V_2_4_2=y
   425 # CT_MPFR_V_2_4_1 is not set
   426 # CT_MPFR_V_2_4_0 is not set
   427 # CT_MPFR_V_2_3_2 is not set
   428 # CT_MPFR_V_2_3_1 is not set
   429 CT_MPFR_VERSION="2.4.2"
   430 
   431 #
   432 # Companion libraries common options
   433 #
   434 # CT_COMPLIBS_CHECK is not set