samples/powerpc-e300c3-linux-gnu/crosstool.config
author "Benoît THÉBAUDEAU" <benoit.thebaudeau@advansee.com>
Wed May 25 20:23:48 2011 +0200 (2011-05-25)
branch1.11
changeset 2552 cc285cc98e65
parent 2335 805e9f2a06fa
child 2581 181206f4bdbc
permissions -rw-r--r--
debug/gdb: fix runtime sysroot

This patch sets the runtime sysroot to fix the following GDB warning:
"Unable to find dynamic linker breakpoint function.
GDB will be unable to debug shared library initializers
and track explicitly loaded dynamic code."

The sysroot can later be changed within gdb with the `set sysroot`
command if necessary.

Signed-off-by: "Benoît THÉBAUDEAU" <benoit.thebaudeau@advansee.com>
(transplanted from 7690196856ce4a4700d1887cc3adf80acc627c52)
     1 #
     2 # Automatically generated make config: don't edit
     3 # crosstool-NG version: hg_default@2421_9a6bc21d4387
     4 # Thu Apr 28 19:33:15 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=y
    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 is not set
    39 CT_CONNECT_TIMEOUT=10
    40 # CT_ONLY_DOWNLOAD is not set
    41 
    42 #
    43 # Extracting
    44 #
    45 # CT_FORCE_EXTRACT is not set
    46 CT_OVERIDE_CONFIG_GUESS_SUB=y
    47 # CT_ONLY_EXTRACT is not set
    48 CT_PATCH_BUNDLED=y
    49 # CT_PATCH_LOCAL is not set
    50 # CT_PATCH_BUNDLED_LOCAL is not set
    51 # CT_PATCH_LOCAL_BUNDLED is not set
    52 # CT_PATCH_BUNDLED_FALLBACK_LOCAL is not set
    53 # CT_PATCH_LOCAL_FALLBACK_BUNDLED is not set
    54 # CT_PATCH_NONE is not set
    55 CT_PATCH_ORDER="bundled"
    56 # CT_PATCH_SINGLE is not set
    57 # CT_PATCH_USE_LOCAL is not set
    58 
    59 #
    60 # Build behavior
    61 #
    62 CT_PARALLEL_JOBS=1
    63 CT_LOAD=0
    64 CT_USE_PIPES=y
    65 # CT_CONFIG_SHELL_SH is not set
    66 # CT_CONFIG_SHELL_ASH is not set
    67 CT_CONFIG_SHELL_BASH=y
    68 # CT_CONFIG_SHELL_CUSTOM is not set
    69 CT_CONFIG_SHELL="bash"
    70 
    71 #
    72 # Logging
    73 #
    74 # CT_LOG_ERROR is not set
    75 # CT_LOG_WARN is not set
    76 CT_LOG_INFO=y
    77 # CT_LOG_EXTRA is not set
    78 # CT_LOG_ALL is not set
    79 # CT_LOG_DEBUG is not set
    80 CT_LOG_LEVEL_MAX="INFO"
    81 # CT_LOG_SEE_TOOLS_WARN is not set
    82 CT_LOG_PROGRESS_BAR=y
    83 CT_LOG_TO_FILE=y
    84 CT_LOG_FILE_COMPRESS=y
    85 
    86 #
    87 # Target options
    88 #
    89 CT_ARCH="powerpc"
    90 # CT_ARCH_SUPPORTS_BOTH_MMU is not set
    91 # CT_ARCH_SUPPORTS_BOTH_ENDIAN is not set
    92 CT_ARCH_SUPPORTS_32=y
    93 CT_ARCH_SUPPORTS_64=y
    94 # CT_ARCH_SUPPORT_ARCH is not set
    95 CT_ARCH_SUPPORT_ABI=y
    96 CT_ARCH_SUPPORT_CPU=y
    97 CT_ARCH_SUPPORT_TUNE=y
    98 # CT_ARCH_SUPPORT_FPU is not set
    99 # CT_ARCH_DEFAULT_HAS_MMU is not set
   100 # CT_ARCH_DEFAULT_BE is not set
   101 # CT_ARCH_DEFAULT_LE is not set
   102 CT_ARCH_DEFAULT_32=y
   103 # CT_ARCH_DEFAULT_64 is not set
   104 CT_ARCH_ABI=""
   105 CT_ARCH_CPU="e300c3"
   106 CT_ARCH_TUNE="e300c3"
   107 CT_ARCH_32=y
   108 # CT_ARCH_64 is not set
   109 CT_ARCH_BITNESS=32
   110 CT_ARCH_FLOAT_HW=y
   111 # CT_ARCH_FLOAT_SW is not set
   112 CT_TARGET_CFLAGS=""
   113 CT_TARGET_LDFLAGS=""
   114 # CT_ARCH_alpha is not set
   115 # CT_ARCH_arm is not set
   116 # CT_ARCH_avr32 is not set
   117 # CT_ARCH_blackfin is not set
   118 # CT_ARCH_m68k is not set
   119 # CT_ARCH_mips is not set
   120 CT_ARCH_powerpc=y
   121 # CT_ARCH_s390 is not set
   122 # CT_ARCH_sh is not set
   123 # CT_ARCH_sparc is not set
   124 # CT_ARCH_x86 is not set
   125 CT_ARCH_alpha_AVAILABLE=y
   126 CT_ARCH_arm_AVAILABLE=y
   127 CT_ARCH_avr32_AVAILABLE=y
   128 CT_ARCH_blackfin_AVAILABLE=y
   129 CT_ARCH_m68k_AVAILABLE=y
   130 CT_ARCH_mips_AVAILABLE=y
   131 CT_ARCH_powerpc_AVAILABLE=y
   132 CT_ARCH_s390_AVAILABLE=y
   133 CT_ARCH_sh_AVAILABLE=y
   134 CT_ARCH_sparc_AVAILABLE=y
   135 CT_ARCH_x86_AVAILABLE=y
   136 
   137 #
   138 # Generic target options
   139 #
   140 CT_ARCH_USE_MMU=y
   141 
   142 #
   143 # Target optimisations
   144 #
   145 
   146 #
   147 # powerpc other options
   148 #
   149 # CT_ARCH_POWERPC_SPE is not set
   150 
   151 #
   152 # Toolchain options
   153 #
   154 
   155 #
   156 # General toolchain options
   157 #
   158 CT_FORCE_SYSROOT=y
   159 CT_USE_SYSROOT=y
   160 CT_SYSROOT_NAME="sysroot"
   161 CT_SYSROOT_DIR_PREFIX=""
   162 # CT_STATIC_TOOLCHAIN is not set
   163 
   164 #
   165 # Tuple completion and aliasing
   166 #
   167 CT_TARGET_VENDOR="e300c3"
   168 CT_TARGET_ALIAS_SED_EXPR=""
   169 CT_TARGET_ALIAS=""
   170 
   171 #
   172 # Toolchain type
   173 #
   174 # CT_NATIVE is not set
   175 CT_CROSS=y
   176 # CT_CROSS_NATIVE is not set
   177 # CT_CANADIAN is not set
   178 CT_TOOLCHAIN_TYPE="cross"
   179 
   180 #
   181 # Build system
   182 #
   183 CT_BUILD=""
   184 CT_BUILD_PREFIX=""
   185 CT_BUILD_SUFFIX=""
   186 
   187 #
   188 # Operating System
   189 #
   190 # CT_BARE_METAL is not set
   191 # CT_MINGW32 is not set
   192 CT_KERNEL_SUPPORTS_SHARED_LIBS=y
   193 CT_KERNEL="linux"
   194 CT_KERNEL_VERSION="2.6.36.4"
   195 # CT_KERNEL_bare_metal is not set
   196 CT_KERNEL_linux=y
   197 # CT_KERNEL_mingw32 is not set
   198 CT_KERNEL_bare_metal_AVAILABLE=y
   199 CT_KERNEL_linux_AVAILABLE=y
   200 CT_KERNEL_mingw32_AVAILABLE=y
   201 
   202 #
   203 # Common kernel options
   204 #
   205 CT_SHARED_LIBS=y
   206 
   207 #
   208 # linux other options
   209 #
   210 CT_KERNEL_LINUX_INSTALL=y
   211 # CT_KERNEL_LINUX_USE_CUSTOM_HEADERS is not set
   212 # CT_KERNEL_V_2_6_38_4 is not set
   213 # CT_KERNEL_V_2_6_38_3 is not set
   214 # CT_KERNEL_V_2_6_38_2 is not set
   215 # CT_KERNEL_V_2_6_38_1 is not set
   216 # CT_KERNEL_V_2_6_38 is not set
   217 # CT_KERNEL_V_2_6_37_6 is not set
   218 CT_KERNEL_V_2_6_36_4=y
   219 # CT_KERNEL_V_2_6_35_13 is not set
   220 # CT_KERNEL_V_2_6_34_9 is not set
   221 # CT_KERNEL_V_2_6_33_12 is not set
   222 # CT_KERNEL_V_2_6_32_39 is not set
   223 # CT_KERNEL_V_2_6_31_14 is not set
   224 # CT_KERNEL_V_2_6_27_58 is not set
   225 # CT_KERNEL_LINUX_CUSTOM is not set
   226 CT_KERNEL_LINUX_VERBOSITY_0=y
   227 # CT_KERNEL_LINUX_VERBOSITY_1 is not set
   228 # CT_KERNEL_LINUX_VERBOSITY_2 is not set
   229 CT_KERNEL_LINUX_VERBOSE_LEVEL=0
   230 CT_KERNEL_LINUX_INSTALL_CHECK=y
   231 
   232 #
   233 # Binary utilities
   234 #
   235 CT_ARCH_BINFMT_ELF=y
   236 # CT_ARCH_BINFMT_FLAT is not set
   237 # CT_ARCH_BINFMT_FDPIC is not set
   238 
   239 #
   240 # GNU binutils
   241 #
   242 CT_BINUTILS_V_2_21=y
   243 # CT_BINUTILS_V_2_20_1 is not set
   244 # CT_BINUTILS_V_2_20 is not set
   245 # CT_BINUTILS_V_2_19_1 is not set
   246 # CT_BINUTILS_V_2_19 is not set
   247 # CT_BINUTILS_V_2_18 is not set
   248 # CT_BINUTILS_V_2_17 is not set
   249 # CT_BINUTILS_V_2_16_1 is not set
   250 CT_BINUTILS_VERSION="2.21"
   251 CT_BINUTILS_2_21_or_later=y
   252 CT_BINUTILS_HAS_GOLD=y
   253 CT_BINUTILS_HAS_PLUGINS=y
   254 CT_BINUTILS_FORCE_LD_BFD=y
   255 CT_BINUTILS_LINKER_LD=y
   256 # CT_BINUTILS_LINKER_GOLD is not set
   257 # CT_BINUTILS_LINKER_LD_GOLD is not set
   258 # CT_BINUTILS_LINKER_GOLD_LD is not set
   259 CT_BINUTILS_LINKERS_LIST="ld"
   260 CT_BINUTILS_LINKER_DEFAULT="bfd"
   261 # CT_BINUTILS_PLUGINS is not set
   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.5.2"
   272 CT_CC_gcc=y
   273 # CT_CC_GCC_SHOW_LINARO is not set
   274 # CT_CC_V_linaro_4_6_2011_04_0 is not set
   275 # CT_CC_V_4_6_0 is not set
   276 # CT_CC_V_linaro_4_5_2011_04_0 is not set
   277 CT_CC_V_4_5_2=y
   278 # CT_CC_V_4_5_1 is not set
   279 # CT_CC_V_4_5_0 is not set
   280 # CT_CC_V_linaro_4_4_2011_02_0 is not set
   281 # CT_CC_V_4_4_6 is not set
   282 # CT_CC_V_4_4_5 is not set
   283 # CT_CC_V_4_4_4 is not set
   284 # CT_CC_V_4_4_3 is not set
   285 # CT_CC_V_4_4_2 is not set
   286 # CT_CC_V_4_4_1 is not set
   287 # CT_CC_V_4_4_0 is not set
   288 # CT_CC_V_4_3_5 is not set
   289 # CT_CC_V_4_3_4 is not set
   290 # CT_CC_V_4_3_3 is not set
   291 # CT_CC_V_4_3_2 is not set
   292 # CT_CC_V_4_3_1 is not set
   293 # CT_CC_V_4_2_4 is not set
   294 # CT_CC_V_4_2_3 is not set
   295 # CT_CC_V_4_2_2 is not set
   296 # CT_CC_V_4_2_1 is not set
   297 # CT_CC_V_4_2_0 is not set
   298 # CT_CC_V_4_1_2 is not set
   299 # CT_CC_V_4_0_4 is not set
   300 # CT_CC_V_3_4_6 is not set
   301 # CT_CC_GCC_4_2 is not set
   302 CT_CC_GCC_4_2_or_later=y
   303 # CT_CC_GCC_4_3 is not set
   304 CT_CC_GCC_4_3_or_later=y
   305 # CT_CC_GCC_4_4 is not set
   306 CT_CC_GCC_4_4_or_later=y
   307 CT_CC_GCC_4_5=y
   308 CT_CC_GCC_4_5_or_later=y
   309 # CT_CC_GCC_4_6 is not set
   310 # CT_CC_GCC_4_6_or_later is not set
   311 CT_CC_GCC_HAS_GRAPHITE=y
   312 CT_CC_GCC_HAS_LTO=y
   313 CT_CC_GCC_USE_GMP_MPFR=y
   314 CT_CC_GCC_USE_PPL_CLOOG=y
   315 CT_CC_GCC_USE_MPC=y
   316 CT_CC_GCC_USE_LIBELF=y
   317 CT_CC_SUPPORT_CXX=y
   318 CT_CC_SUPPORT_FORTRAN=y
   319 CT_CC_SUPPORT_JAVA=y
   320 CT_CC_SUPPORT_ADA=y
   321 CT_CC_SUPPORT_OBJC=y
   322 CT_CC_SUPPORT_OBJCXX=y
   323 
   324 #
   325 # Additional supported languages:
   326 #
   327 CT_CC_LANG_CXX=y
   328 # CT_CC_LANG_FORTRAN is not set
   329 # CT_CC_LANG_JAVA is not set
   330 # CT_CC_LANG_ADA is not set
   331 # CT_CC_LANG_OBJC is not set
   332 # CT_CC_LANG_OBJCXX is not set
   333 CT_CC_LANG_OTHERS=""
   334 
   335 #
   336 # gcc other options
   337 #
   338 CT_CC_PKGVERSION="crosstool-NG-${CT_VERSION}"
   339 CT_CC_BUGURL=""
   340 CT_CC_ENABLE_CXX_FLAGS=""
   341 CT_CC_CORE_EXTRA_CONFIG=""
   342 CT_CC_EXTRA_CONFIG="--with-long-double-128"
   343 CT_CC_STATIC_LIBSTDCXX=y
   344 
   345 #
   346 # Optimisation features
   347 #
   348 CT_CC_GCC_USE_GRAPHITE=y
   349 CT_CC_GCC_USE_LTO=y
   350 
   351 #
   352 # Settings for libraries running on target
   353 #
   354 # CT_CC_GCC_ENABLE_TARGET_OPTSPACE is not set
   355 # CT_CC_GCC_LIBMUDFLAP is not set
   356 # CT_CC_GCC_LIBGOMP is not set
   357 # CT_CC_GCC_LIBSSP is not set
   358 
   359 #
   360 # Misc. obscure options.
   361 #
   362 CT_CC_CXA_ATEXIT=y
   363 # CT_CC_GCC_DISABLE_PCH is not set
   364 # CT_CC_GCC_SJLJ_EXCEPTIONS is not set
   365 CT_CC_GCC_LDBL_128=m
   366 
   367 #
   368 # C-library
   369 #
   370 CT_LIBC="eglibc"
   371 CT_LIBC_VERSION="2_12"
   372 CT_LIBC_eglibc=y
   373 # CT_LIBC_glibc is not set
   374 # CT_LIBC_mingw is not set
   375 # CT_LIBC_newlib is not set
   376 # CT_LIBC_none is not set
   377 # CT_LIBC_uClibc is not set
   378 CT_LIBC_eglibc_AVAILABLE=y
   379 # CT_LIBC_EGLIBC_V_2_13 is not set
   380 CT_LIBC_EGLIBC_V_2_12=y
   381 # CT_LIBC_EGLIBC_V_2_11 is not set
   382 # CT_LIBC_EGLIBC_V_2_10 is not set
   383 # CT_LIBC_EGLIBC_V_2_9 is not set
   384 # CT_LIBC_EGLIBC_V_2_8 is not set
   385 # CT_LIBC_EGLIBC_V_2_7 is not set
   386 # CT_LIBC_EGLIBC_V_2_6 is not set
   387 # CT_LIBC_EGLIBC_V_2_5 is not set
   388 # CT_LIBC_EGLIBC_V_TRUNK is not set
   389 CT_EGLIBC_REVISION="HEAD"
   390 # CT_EGLIBC_CHECKOUT is not set
   391 # CT_EGLIBC_OPT_SIZE is not set
   392 # CT_EGLIBC_CUSTOM_CONFIG is not set
   393 CT_LIBC_glibc_AVAILABLE=y
   394 CT_LIBC_mingw_AVAILABLE=y
   395 CT_LIBC_newlib_AVAILABLE=y
   396 CT_LIBC_none_AVAILABLE=y
   397 CT_LIBC_uClibc_AVAILABLE=y
   398 CT_LIBC_glibc_familly=y
   399 
   400 #
   401 # glibc/eglibc common options
   402 #
   403 CT_LIBC_GLIBC_EXTRA_CONFIG=""
   404 CT_LIBC_GLIBC_CONFIGPARMS=""
   405 CT_LIBC_GLIBC_EXTRA_CFLAGS=""
   406 CT_LIBC_EXTRA_CC_ARGS=""
   407 # CT_LIBC_ENABLE_FORTIFIED_BUILD is not set
   408 # CT_LIBC_DISABLE_VERSIONING is not set
   409 CT_LIBC_OLDEST_ABI=""
   410 # CT_LIBC_GLIBC_FORCE_UNWIND is not set
   411 CT_LIBC_GLIBC_USE_PORTS=y
   412 CT_LIBC_ADDONS_LIST=""
   413 
   414 #
   415 # WARNING !!!                                            
   416 #
   417 
   418 #
   419 #   For glibc >= 2.8, it can happen that the tarballs    
   420 #
   421 
   422 #
   423 #   for the addons are not available for download.       
   424 #
   425 
   426 #
   427 #   If that happens, bad luck... Try a previous version  
   428 #
   429 
   430 #
   431 #   or try again later... :-(                            
   432 #
   433 # CT_LIBC_GLIBC_KERNEL_VERSION_NONE is not set
   434 CT_LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS=y
   435 # CT_LIBC_GLIBC_KERNEL_VERSION_CHOSEN is not set
   436 CT_LIBC_GLIBC_MIN_KERNEL="2.6.36.4"
   437 CT_LIBC_SUPPORT_THREADS_ANY=y
   438 CT_LIBC_SUPPORT_NPTL=y
   439 CT_LIBC_SUPPORT_LINUXTHREADS=y
   440 # CT_LIBC_SUPPORT_WIN32THREADS is not set
   441 # CT_LIBC_SUPPORT_THREADS_NONE is not set
   442 CT_THREADS="nptl"
   443 
   444 #
   445 # Common C library options
   446 #
   447 CT_THREADS_NPTL=y
   448 # CT_THREADS_LINUXTHREADS is not set
   449 # CT_THREADS_WIN32THREADS is not set
   450 # CT_THREADS_NONE is not set
   451 CT_LIBC_XLDD=y
   452 
   453 #
   454 # Debug facilities
   455 #
   456 # CT_DEBUG_dmalloc is not set
   457 # CT_DEBUG_duma is not set
   458 # CT_DEBUG_gdb is not set
   459 # CT_DEBUG_ltrace is not set
   460 # CT_DEBUG_strace is not set
   461 
   462 #
   463 # Companion libraries
   464 #
   465 CT_COMPLIBS_NEEDED=y
   466 CT_GMP_NEEDED=y
   467 CT_MPFR_NEEDED=y
   468 CT_PPL_NEEDED=y
   469 CT_CLOOG_NEEDED=y
   470 CT_MPC_NEEDED=y
   471 CT_LIBELF_NEEDED=y
   472 CT_COMPLIBS=y
   473 CT_GMP=y
   474 CT_MPFR=y
   475 CT_PPL=y
   476 CT_CLOOG=y
   477 CT_MPC=y
   478 CT_LIBELF=y
   479 CT_GMP_V_5_0_1=y
   480 # CT_GMP_V_4_3_2 is not set
   481 # CT_GMP_V_4_3_1 is not set
   482 # CT_GMP_V_4_3_0 is not set
   483 # CT_GMP_V_4_2_4 is not set
   484 # CT_GMP_V_4_2_2 is not set
   485 CT_GMP_VERSION="5.0.1"
   486 CT_MPFR_V_3_0_0=y
   487 # CT_MPFR_V_2_4_2 is not set
   488 # CT_MPFR_V_2_4_1 is not set
   489 # CT_MPFR_V_2_4_0 is not set
   490 # CT_MPFR_V_2_3_2 is not set
   491 # CT_MPFR_V_2_3_1 is not set
   492 CT_MPFR_VERSION="3.0.0"
   493 # CT_PPL_V_0_11_2 is not set
   494 # CT_PPL_V_0_11_1 is not set
   495 # CT_PPL_V_0_11 is not set
   496 CT_PPL_V_0_10_2=y
   497 CT_PPL_VERSION="0.10.2"
   498 # CT_PPL_0_11 is not set
   499 # CT_PPL_NEEDS_LIBPWL is not set
   500 CT_CLOOG_V_0_15_10=y
   501 # CT_CLOOG_V_0_15_9 is not set
   502 # CT_CLOOG_V_0_15_8 is not set
   503 # CT_CLOOG_V_0_15_7 is not set
   504 # CT_CLOOG_V_0_15_6 is not set
   505 CT_CLOOG_VERSION="0.15.10"
   506 # CT_MPC_V_0_9 is not set
   507 CT_MPC_V_0_8_2=y
   508 # CT_MPC_V_0_8_1 is not set
   509 # CT_MPC_V_0_7 is not set
   510 # CT_MPC_V_0_6 is not set
   511 CT_MPC_VERSION="0.8.2"
   512 CT_LIBELF_V_0_8_13=y
   513 # CT_LIBELF_V_0_8_12 is not set
   514 CT_LIBELF_VERSION="0.8.13"
   515 
   516 #
   517 # Companion libraries common options
   518 #
   519 # CT_COMPLIBS_CHECK is not set
   520 
   521 #
   522 # Companion tools
   523 #
   524 
   525 #
   526 # READ HELP before you say 'Y' below !!!
   527 #
   528 # CT_COMP_TOOLS is not set
   529 
   530 #
   531 # Test suite
   532 #
   533 # CT_TEST_SUITE is not set
   534 # CT_TEST_SUITE_GCC is not set