samples/powerpc-860-linux-gnu/crosstool.config
author Kalle Kankare <kalle.kankare@vincit.fi>
Fri Dec 03 12:36:44 2010 +0100 (2010-12-03)
branch1.9
changeset 2217 46e64ffd181a
parent 2152 fb34f799f05b
child 2240 fdb218680a54
permissions -rw-r--r--
complibs/libelf: use host compiler

It appears, that the configure scripts of libelf versions 0.8.13 and
0.8.12 do not honour the --host option. The compiler must be given as an
environment variable or the process will use the command "gcc" as the
compiler.

It seems that this is already done in the function do_libelf_target in
scripts/build/companion_libs/libelf.sh, but not in function do_libelf.
(transplanted from 81b4c0efa46f757b89c150f66e09615ee7c0f5a4)
     1 #
     2 # Automatically generated make config: don't edit
     3 # crosstool-NG version: hg_default@2171_c2541d3f2f56
     4 # Tue Nov  2 22:57:00 2010
     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_REMOVE_DOCS=y
    29 CT_INSTALL_DIR_RO=y
    30 CT_STRIP_ALL_TOOLCHAIN_EXECUTABLES=y
    31 
    32 #
    33 # Downloading
    34 #
    35 # CT_FORBID_DOWNLOAD is not set
    36 # CT_FORCE_DOWNLOAD is not set
    37 CT_USE_MIRROR=y
    38 # CT_PREFER_MIRROR is not set
    39 CT_MIRROR_BASE_URL="http://ymorin.is-a-geek.org/mirrors/"
    40 CT_CONNECT_TIMEOUT=10
    41 CT_DOWNLOAD_MAX_CHUNKS=1
    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="powerpc"
    92 # CT_ARCH_SUPPORTS_BOTH_MMU is not set
    93 # CT_ARCH_SUPPORTS_BOTH_ENDIAN is not set
    94 CT_ARCH_SUPPORTS_32=y
    95 # CT_ARCH_SUPPORTS_64 is not set
    96 # CT_ARCH_SUPPORT_ARCH is not set
    97 CT_ARCH_SUPPORT_ABI=y
    98 CT_ARCH_SUPPORT_CPU=y
    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 is not set
   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_ABI=""
   107 CT_ARCH_CPU="860"
   108 CT_ARCH_TUNE=""
   109 CT_ARCH_32=y
   110 # CT_ARCH_64 is not set
   111 CT_ARCH_BITNESS=32
   112 # CT_ARCH_FLOAT_HW is not set
   113 CT_ARCH_FLOAT_SW=y
   114 CT_TARGET_CFLAGS=""
   115 CT_TARGET_LDFLAGS=""
   116 
   117 #
   118 # General target options
   119 #
   120 # CT_ARCH_alpha is not set
   121 # CT_ARCH_arm is not set
   122 # CT_ARCH_avr32 is not set
   123 # CT_ARCH_blackfin is not set
   124 # CT_ARCH_ia64 is not set
   125 # CT_ARCH_m68k is not set
   126 # CT_ARCH_mips is not set
   127 CT_ARCH_powerpc=y
   128 # CT_ARCH_s390 is not set
   129 # CT_ARCH_sh is not set
   130 # CT_ARCH_x86 is not set
   131 CT_ARCH_alpha_AVAILABLE=y
   132 CT_ARCH_arm_AVAILABLE=y
   133 CT_ARCH_avr32_AVAILABLE=y
   134 CT_ARCH_blackfin_AVAILABLE=y
   135 CT_ARCH_ia64_AVAILABLE=y
   136 CT_ARCH_m68k_AVAILABLE=y
   137 CT_ARCH_mips_AVAILABLE=y
   138 CT_ARCH_powerpc_AVAILABLE=y
   139 CT_ARCH_s390_AVAILABLE=y
   140 CT_ARCH_sh_AVAILABLE=y
   141 CT_ARCH_x86_AVAILABLE=y
   142 CT_ARCH_USE_MMU=y
   143 
   144 #
   145 # powerpc other options
   146 #
   147 # CT_ARCH_POWERPC_SPE is not set
   148 
   149 #
   150 # Target optimisations
   151 #
   152 
   153 #
   154 # Toolchain options
   155 #
   156 
   157 #
   158 # General toolchain options
   159 #
   160 CT_USE_SYSROOT=y
   161 CT_SYSROOT_DIR_PREFIX=""
   162 
   163 #
   164 # Tuple completion and aliasing
   165 #
   166 CT_TARGET_VENDOR="860"
   167 CT_TARGET_ALIAS_SED_EXPR=""
   168 CT_TARGET_ALIAS=""
   169 
   170 #
   171 # Toolchain type
   172 #
   173 # CT_NATIVE is not set
   174 CT_CROSS=y
   175 # CT_CROSS_NATIVE is not set
   176 # CT_CANADIAN is not set
   177 CT_TOOLCHAIN_TYPE="cross"
   178 
   179 #
   180 # Build system
   181 #
   182 CT_BUILD=""
   183 CT_BUILD_PREFIX=""
   184 CT_BUILD_SUFFIX=""
   185 
   186 #
   187 # Operating System
   188 #
   189 # CT_BARE_METAL is not set
   190 # CT_MINGW32 is not set
   191 CT_KERNEL_SUPPORTS_SHARED_LIBS=y
   192 CT_KERNEL="linux"
   193 CT_KERNEL_VERSION="2.6.31.14"
   194 # CT_KERNEL_bare_metal is not set
   195 CT_KERNEL_linux=y
   196 # CT_KERNEL_mingw32 is not set
   197 CT_KERNEL_bare_metal_AVAILABLE=y
   198 CT_KERNEL_linux_AVAILABLE=y
   199 CT_KERNEL_LINUX_INSTALL=y
   200 # CT_KERNEL_V_2_6_36 is not set
   201 # CT_KERNEL_V_2_6_35_8 is not set
   202 # CT_KERNEL_V_2_6_34_7 is not set
   203 # CT_KERNEL_V_2_6_33_7 is not set
   204 # CT_KERNEL_V_2_6_32_25 is not set
   205 CT_KERNEL_V_2_6_31_14=y
   206 # CT_KERNEL_V_2_6_27_55 is not set
   207 # CT_KERNEL_LINUX_CUSTOM is not set
   208 CT_KERNEL_LINUX_VERBOSITY_0=y
   209 # CT_KERNEL_LINUX_VERBOSITY_1 is not set
   210 # CT_KERNEL_LINUX_VERBOSITY_2 is not set
   211 CT_KERNEL_LINUX_VERBOSE_LEVEL=0
   212 CT_KERNEL_LINUX_INSTALL_CHECK=y
   213 # CT_KERNEL_LINUX_USE_CUSTOM_HEADERS is not set
   214 CT_KERNEL_mingw32_AVAILABLE=y
   215 
   216 #
   217 # Common kernel options
   218 #
   219 CT_SHARED_LIBS=y
   220 
   221 #
   222 # Binary utilities
   223 #
   224 CT_ARCH_BINFMT_ELF=y
   225 # CT_ARCH_BINFMT_FLAT is not set
   226 # CT_ARCH_BINFMT_FDPIC is not set
   227 
   228 #
   229 # GNU binutils
   230 #
   231 # CT_BINUTILS_V_2_20_1 is not set
   232 # CT_BINUTILS_V_2_20 is not set
   233 CT_BINUTILS_V_2_19_1=y
   234 # CT_BINUTILS_V_2_19 is not set
   235 # CT_BINUTILS_V_2_18 is not set
   236 # CT_BINUTILS_V_2_17 is not set
   237 # CT_BINUTILS_V_2_16_1 is not set
   238 CT_BINUTILS_VERSION="2.19.1"
   239 CT_BINUTILS_EXTRA_CONFIG=""
   240 CT_BINUTILS_FOR_TARGET=y
   241 CT_BINUTILS_FOR_TARGET_IBERTY=y
   242 CT_BINUTILS_FOR_TARGET_BFD=y
   243 
   244 #
   245 # C compiler
   246 #
   247 CT_CC="gcc"
   248 CT_CC_VERSION="4.3.2"
   249 CT_CC_gcc=y
   250 # CT_CC_V_4_5_1 is not set
   251 # CT_CC_V_4_5_0 is not set
   252 # CT_CC_V_4_4_5 is not set
   253 # CT_CC_V_4_4_4 is not set
   254 # CT_CC_V_4_4_3 is not set
   255 # CT_CC_V_4_4_2 is not set
   256 # CT_CC_V_4_4_1 is not set
   257 # CT_CC_V_4_4_0 is not set
   258 # CT_CC_V_4_3_5 is not set
   259 # CT_CC_V_4_3_4 is not set
   260 # CT_CC_V_4_3_3 is not set
   261 CT_CC_V_4_3_2=y
   262 # CT_CC_V_4_3_1 is not set
   263 # CT_CC_V_4_2_4 is not set
   264 # CT_CC_V_4_2_3 is not set
   265 # CT_CC_V_4_2_2 is not set
   266 # CT_CC_V_4_2_1 is not set
   267 # CT_CC_V_4_2_0 is not set
   268 # CT_CC_V_4_1_2 is not set
   269 # CT_CC_V_4_0_4 is not set
   270 # CT_CC_V_3_4_6 is not set
   271 CT_CC_GCC_4_2_or_later=y
   272 CT_CC_GCC_4_3_or_later=y
   273 # CT_CC_GCC_4_4_or_later is not set
   274 # CT_CC_GCC_4_5_or_later is not set
   275 # CT_CC_GCC_HAS_GRAPHITE is not set
   276 # CT_CC_GCC_HAS_LTO is not set
   277 CT_CC_GCC_USE_GMP_MPFR=y
   278 # CT_CC_GCC_USE_PPL_CLOOG is not set
   279 # CT_CC_GCC_USE_MPC is not set
   280 # CT_CC_GCC_USE_LIBELF is not set
   281 CT_CC_PKGVERSION="crosstool-NG-${CT_VERSION}"
   282 CT_CC_BUGURL=""
   283 CT_CC_ENABLE_CXX_FLAGS=""
   284 CT_CC_CORE_EXTRA_CONFIG=""
   285 CT_CC_EXTRA_CONFIG="--with-cpu=860 --enable-cxx-flags=-mcpu=860 --with-float=soft --enable-cxx-flags=-msoft-float"
   286 CT_CC_SUPPORT_CXX=y
   287 CT_CC_SUPPORT_FORTRAN=y
   288 CT_CC_SUPPORT_JAVA=y
   289 CT_CC_SUPPORT_ADA=y
   290 CT_CC_SUPPORT_OBJC=y
   291 CT_CC_SUPPORT_OBJCXX=y
   292 
   293 #
   294 # Additional supported languages:
   295 #
   296 CT_CC_LANG_CXX=y
   297 CT_CC_LANG_FORTRAN=y
   298 # CT_CC_LANG_JAVA is not set
   299 
   300 #
   301 # gcc other options
   302 #
   303 CT_CC_GCC_ENABLE_TARGET_OPTSPACE=y
   304 # CT_CC_GCC_LIBMUDFLAP is not set
   305 # CT_CC_GCC_LIBGOMP is not set
   306 # CT_CC_GCC_LIBSSP is not set
   307 
   308 #
   309 # Misc. obscure options.
   310 #
   311 CT_CC_CXA_ATEXIT=y
   312 # CT_CC_GCC_DISABLE_PCH is not set
   313 CT_CC_GCC_SJLJ_EXCEPTIONS=m
   314 CT_CC_GCC_LDBL_128=m
   315 
   316 #
   317 # C-library
   318 #
   319 CT_LIBC="glibc"
   320 CT_LIBC_VERSION="2.9"
   321 # CT_LIBC_eglibc is not set
   322 CT_LIBC_glibc=y
   323 # CT_LIBC_mingw is not set
   324 # CT_LIBC_newlib is not set
   325 # CT_LIBC_none is not set
   326 # CT_LIBC_uClibc is not set
   327 CT_LIBC_eglibc_AVAILABLE=y
   328 CT_LIBC_glibc_AVAILABLE=y
   329 CT_LIBC_GLIBC_TARBALL=y
   330 # CT_LIBC_GLIBC_V_2_11_1 is not set
   331 # CT_LIBC_GLIBC_V_2_11 is not set
   332 # CT_LIBC_V_2_10_1 is not set
   333 CT_LIBC_V_2_9=y
   334 # CT_LIBC_V_2_8 is not set
   335 # CT_LIBC_V_2_7 is not set
   336 # CT_LIBC_V_2_6_1 is not set
   337 # CT_LIBC_V_2_6 is not set
   338 # CT_LIBC_V_2_5_1 is not set
   339 # CT_LIBC_V_2_5 is not set
   340 # CT_LIBC_V_2_3_6 is not set
   341 CT_LIBC_mingw_AVAILABLE=y
   342 CT_LIBC_newlib_AVAILABLE=y
   343 CT_LIBC_none_AVAILABLE=y
   344 CT_LIBC_uClibc_AVAILABLE=y
   345 
   346 #
   347 # glibc/eglibc common options
   348 #
   349 CT_LIBC_GLIBC_EXTRA_CONFIG="--without-fp"
   350 CT_LIBC_GLIBC_CONFIGPARMS=""
   351 CT_LIBC_GLIBC_EXTRA_CFLAGS=""
   352 CT_LIBC_EXTRA_CC_ARGS=""
   353 CT_LIBC_GLIBC_USE_PORTS=y
   354 CT_LIBC_ADDONS_LIST=""
   355 
   356 #
   357 # WARNING !!!                                            
   358 #
   359 
   360 #
   361 #   For glibc >= 2.8, it can happen that the tarballs    
   362 #
   363 
   364 #
   365 #   for the addons are not available for download.       
   366 #
   367 
   368 #
   369 #   If that happens, bad luck... Try a previous version  
   370 #
   371 
   372 #
   373 #   or try again later... :-(                            
   374 #
   375 # CT_LIBC_GLIBC_KERNEL_VERSION_NONE is not set
   376 CT_LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS=y
   377 # CT_LIBC_GLIBC_KERNEL_VERSION_CHOSEN is not set
   378 CT_LIBC_GLIBC_MIN_KERNEL="2.6.31.14"
   379 CT_LIBC_SUPPORT_THREADS_ANY=y
   380 CT_LIBC_SUPPORT_NPTL=y
   381 CT_LIBC_SUPPORT_LINUXTHREADS=y
   382 # CT_LIBC_SUPPORT_WIN32THREADS is not set
   383 CT_THREADS="nptl"
   384 
   385 #
   386 # Common C library options
   387 #
   388 CT_THREADS_NPTL=y
   389 # CT_THREADS_LINUXTHREADS is not set
   390 # CT_THREADS_WIN32THREADS is not set
   391 # CT_THREADS_NONE is not set
   392 CT_LIBC_XLDD=y
   393 
   394 #
   395 # Debug facilities
   396 #
   397 # CT_DEBUG_dmalloc is not set
   398 # CT_DEBUG_duma is not set
   399 CT_DEBUG_gdb=y
   400 CT_GDB_CROSS=y
   401 # CT_GDB_CROSS_STATIC is not set
   402 CT_GDB_NATIVE=y
   403 # CT_GDB_NATIVE_NO_STATIC is not set
   404 # CT_GDB_NATIVE_STATIC is not set
   405 CT_GDB_GDBSERVER=y
   406 # CT_GDB_GDBSERVER_STATIC is not set
   407 # CT_GDB_V_7_2 is not set
   408 # CT_GDB_V_7_1 is not set
   409 # CT_GDB_V_7_0_1 is not set
   410 # CT_GDB_V_7_0 is not set
   411 CT_GDB_V_6_8=y
   412 CT_GDB_VERSION="6.8"
   413 # CT_DEBUG_ltrace is not set
   414 CT_DEBUG_strace=y
   415 # CT_STRACE_V_4_5_20 is not set
   416 CT_STRACE_V_4_5_19=y
   417 # CT_STRACE_V_4_5_18 is not set
   418 # CT_STRACE_V_4_5_17 is not set
   419 # CT_STRACE_V_4_5_16 is not set
   420 # CT_STRACE_V_4_5_15 is not set
   421 CT_STRACE_VERSION="4.5.19"
   422 
   423 #
   424 # Companion libraries
   425 #
   426 CT_COMPLIBS_NEEDED=y
   427 CT_GMP_NEEDED=y
   428 CT_MPFR_NEEDED=y
   429 # CT_PPL_NEEDED is not set
   430 # CT_CLOOG_NEEDED is not set
   431 # CT_MPC_NEEDED is not set
   432 # CT_LIBELF_NEEDED is not set
   433 CT_COMPLIBS=y
   434 # CT_WRAPPER_NEEDED is not set
   435 CT_GMP=y
   436 CT_MPFR=y
   437 # CT_GMP_V_5_0_1 is not set
   438 CT_GMP_V_4_3_2=y
   439 # CT_GMP_V_4_3_1 is not set
   440 # CT_GMP_V_4_3_0 is not set
   441 # CT_GMP_V_4_2_4 is not set
   442 # CT_GMP_V_4_2_2 is not set
   443 CT_GMP_VERSION="4.3.2"
   444 # CT_MPFR_V_3_0_0 is not set
   445 CT_MPFR_V_2_4_2=y
   446 # CT_MPFR_V_2_4_1 is not set
   447 # CT_MPFR_V_2_4_0 is not set
   448 # CT_MPFR_V_2_3_2 is not set
   449 # CT_MPFR_V_2_3_1 is not set
   450 CT_MPFR_VERSION="2.4.2"
   451 
   452 #
   453 # Companion libraries common options
   454 #
   455 CT_COMPLIBS_BACKUP=y
   456 # CT_COMPLIBS_CHECK is not set
   457 # CT_COMPLIBS_SHARED is not set