samples/powerpc-unknown-linux-gnuspe/crosstool.config
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Sep 23 14:48:10 2008 +0000 (2008-09-23)
changeset 872 fd4bf138f08f
parent 869 23c6c9ea90be
child 882 833244c861f6
permissions -rw-r--r--
Bart De VOS pointed out that removing absolute paths from the libc linker scripts is plainly wrong.
It dates from dawn ages of the original crosstool code, and is not well explained. At that time, binutils might not understand the sysroot stuff, and it was necessary to remove absolute paths in that case.

/trunk/scripts/build/libc/glibc.sh | 14 2 12 0 ++------------
1 file changed, 2 insertions(+), 12 deletions(-)
     1 #
     2 # Automatically generated make config: don't edit
     3 # crosstool-NG version: 1.2.0+svn_trunk@1020
     4 # Tue Sep 23 09:26:57 2008
     5 #
     6 
     7 #
     8 # Paths and misc options
     9 #
    10 
    11 #
    12 # crosstool-NG behavior
    13 #
    14 # CT_OBSOLETE is not set
    15 CT_EXPERIMENTAL=y
    16 # CT_BROKEN is not set
    17 # CT_DEBUG_CT is not set
    18 
    19 #
    20 # Paths
    21 #
    22 CT_LOCAL_TARBALLS_DIR="${HOME}/src"
    23 CT_SAVE_TARBALLS=y
    24 CT_WORK_DIR="${CT_TOP_DIR}/targets"
    25 CT_PREFIX_DIR="${HOME}/x-tools/${CT_TARGET}"
    26 CT_INSTALL_DIR="${CT_PREFIX_DIR}"
    27 # CT_CUSTOM_PATCH is not set
    28 CT_REMOVE_DOCS=y
    29 CT_INSTALL_DIR_RO=y
    30 
    31 #
    32 # Downloading
    33 #
    34 # CT_FORCE_DOWNLOAD is not set
    35 # CT_USE_PROXY is not set
    36 CT_PROXY_TYPE="none"
    37 # CT_USE_LAN_MIRROR is not set
    38 CT_CONNECT_TIMEOUT=10
    39 # CT_ONLY_DOWNLOAD is not set
    40 
    41 #
    42 # Extracting
    43 #
    44 # CT_FORCE_EXTRACT is not set
    45 CT_OVERIDE_CONFIG_GUESS_SUB=y
    46 # CT_ONLY_EXTRACT is not set
    47 
    48 #
    49 # Build behavior
    50 #
    51 CT_PARALLEL_JOBS=1
    52 CT_LOAD=0
    53 CT_NICE=0
    54 CT_USE_PIPES=y
    55 # CT_CONFIG_SHELL_ASH is not set
    56 
    57 #
    58 # Logging
    59 #
    60 # CT_LOG_ERROR is not set
    61 # CT_LOG_WARN is not set
    62 # CT_LOG_INFO is not set
    63 CT_LOG_EXTRA=y
    64 # CT_LOG_DEBUG is not set
    65 # CT_LOG_ALL is not set
    66 CT_LOG_LEVEL_MAX="EXTRA"
    67 # CT_LOG_SEE_TOOLS_WARN is not set
    68 CT_LOG_PROGRESS_BAR=y
    69 CT_LOG_TO_FILE=y
    70 CT_LOG_FILE_COMPRESS=y
    71 
    72 #
    73 # Target options
    74 #
    75 CT_ARCH="powerpc"
    76 # CT_ARCH_SUPPORT_ARCH is not set
    77 CT_ARCH_SUPPORT_ABI=y
    78 CT_ARCH_SUPPORT_CPU=y
    79 CT_ARCH_SUPPORT_TUNE=y
    80 # CT_ARCH_SUPPORT_FPU is not set
    81 # CT_ARCH_SUPPORTS_BOTH_ENDIAN is not set
    82 # CT_ARCH_DEFAULT_BE is not set
    83 # CT_ARCH_DEFAULT_LE is not set
    84 CT_ARCH_ABI=""
    85 CT_ARCH_CPU="8548"
    86 CT_ARCH_TUNE="8548"
    87 CT_ARCH_FLOAT_HW=y
    88 # CT_ARCH_FLOAT_SW is not set
    89 CT_TARGET_CFLAGS=""
    90 CT_TARGET_LDFLAGS=""
    91 
    92 #
    93 # General target options
    94 #
    95 # CT_ARCH_alpha is not set
    96 # CT_ARCH_arm is not set
    97 # CT_ARCH_ia64 is not set
    98 # CT_ARCH_mips is not set
    99 CT_ARCH_powerpc=y
   100 CT_ARCH_POWERPC_SPE=y
   101 # CT_ARCH_sh is not set
   102 # CT_ARCH_x86 is not set
   103 # CT_ARCH_x86_64 is not set
   104 
   105 #
   106 # Target optimisations
   107 #
   108 
   109 #
   110 # Toolchain options
   111 #
   112 
   113 #
   114 # General toolchain options
   115 #
   116 CT_USE_SYSROOT=y
   117 CT_SHARED_LIBS=y
   118 CT_TARGET_VENDOR="unknown"
   119 CT_TARGET_ALIAS_SED_EXPR=""
   120 CT_TARGET_ALIAS=""
   121 
   122 #
   123 # Toolchain type
   124 #
   125 # CT_NATIVE is not set
   126 CT_CROSS=y
   127 # CT_CROSS_NATIVE is not set
   128 # CT_CANADIAN is not set
   129 CT_TOOLCHAIN_TYPE="cross"
   130 CT_BUILD=""
   131 CT_CC_NATIVE="gcc"
   132 
   133 #
   134 # Operating System
   135 #
   136 CT_KERNEL="linux"
   137 CT_KERNEL_VERSION="2.6.26.5"
   138 # CT_KERNEL_bare_metal is not set
   139 CT_KERNEL_linux=y
   140 CT_KERNEL_LINUX_INSTALL=y
   141 CT_KERNEL_LINUX_INSTALL_CHECK=y
   142 # CT_KERNEL_V_2_6_18_8 is not set
   143 # CT_KERNEL_V_2_6_19_7 is not set
   144 # CT_KERNEL_V_2_6_20_21 is not set
   145 # CT_KERNEL_V_2_6_21_7 is not set
   146 # CT_KERNEL_V_2_6_22_19 is not set
   147 # CT_KERNEL_V_2_6_23_17 is not set
   148 # CT_KERNEL_V_2_6_24_7 is not set
   149 # CT_KERNEL_V_2_6_25 is not set
   150 # CT_KERNEL_V_2_6_25_1 is not set
   151 # CT_KERNEL_V_2_6_25_2 is not set
   152 # CT_KERNEL_V_2_6_25_3 is not set
   153 # CT_KERNEL_V_2_6_25_4 is not set
   154 # CT_KERNEL_V_2_6_25_5 is not set
   155 # CT_KERNEL_V_2_6_25_6 is not set
   156 # CT_KERNEL_V_2_6_25_7 is not set
   157 # CT_KERNEL_V_2_6_25_8 is not set
   158 # CT_KERNEL_V_2_6_25_9 is not set
   159 # CT_KERNEL_V_2_6_25_10 is not set
   160 # CT_KERNEL_V_2_6_25_11 is not set
   161 # CT_KERNEL_V_2_6_25_12 is not set
   162 # CT_KERNEL_V_2_6_25_13 is not set
   163 # CT_KERNEL_V_2_6_25_14 is not set
   164 # CT_KERNEL_V_2_6_25_15 is not set
   165 # CT_KERNEL_V_2_6_25_16 is not set
   166 # CT_KERNEL_V_2_6_25_17 is not set
   167 # CT_KERNEL_V_2_6_26 is not set
   168 # CT_KERNEL_V_2_6_26_1 is not set
   169 # CT_KERNEL_V_2_6_26_2 is not set
   170 # CT_KERNEL_V_2_6_26_3 is not set
   171 # CT_KERNEL_V_2_6_26_4 is not set
   172 CT_KERNEL_V_2_6_26_5=y
   173 CT_KERNEL_LINUX_VERBOSITY_0=y
   174 # CT_KERNEL_LINUX_VERBOSITY_1 is not set
   175 # CT_KERNEL_LINUX_VERBOSITY_2 is not set
   176 CT_KERNEL_LINUX_VERBOSE_LEVEL=0
   177 # CT_KERNEL_LINUX_USE_CUSTOM_DIR is not set
   178 
   179 #
   180 # GMP and MPFR
   181 #
   182 CT_GMP_MPFR=y
   183 CT_GMP_MPFR_TARGET=y
   184 CT_GMP_V_4_2_2=y
   185 CT_GMP_VERSION="4.2.2"
   186 CT_GMP_CHECK=y
   187 CT_MPFR_V_2_3_1=y
   188 CT_MPFR_VERSION="2.3.1"
   189 CT_MPFR_CHECK=y
   190 
   191 #
   192 # binutils
   193 #
   194 CT_BINUTILS_VERSION="2.18"
   195 # CT_BINUTILS_V_2_14 is not set
   196 # CT_BINUTILS_V_2_15 is not set
   197 # CT_BINUTILS_V_2_16_1 is not set
   198 # CT_BINUTILS_V_2_17 is not set
   199 CT_BINUTILS_V_2_18=y
   200 # CT_BINUTILS_V_2_18_50_0_4 is not set
   201 # CT_BINUTILS_V_2_18_50_0_6 is not set
   202 # CT_BINUTILS_V_2_18_50_0_7 is not set
   203 # CT_BINUTILS_V_2_18_50_0_8 is not set
   204 # CT_BINUTILS_V_2_18_50_0_9 is not set
   205 CT_BINUTILS_EXTRA_CONFIG=""
   206 CT_BINUTILS_FOR_TARGET=y
   207 CT_BINUTILS_FOR_TARGET_IBERTY=y
   208 CT_BINUTILS_FOR_TARGET_BFD=y
   209 
   210 #
   211 # C compiler
   212 #
   213 CT_CC_GCC=y
   214 CT_CC_VERSION="4.3.1"
   215 CT_CC="gcc"
   216 # CT_CC_V_2_95_3 is not set
   217 # CT_CC_V_3_2_3 is not set
   218 # CT_CC_V_3_3_6 is not set
   219 # CT_CC_V_3_4_6 is not set
   220 # CT_CC_V_4_0_0 is not set
   221 # CT_CC_V_4_0_1 is not set
   222 # CT_CC_V_4_0_2 is not set
   223 # CT_CC_V_4_0_3 is not set
   224 # CT_CC_V_4_0_4 is not set
   225 # CT_CC_V_4_1_0 is not set
   226 # CT_CC_V_4_1_1 is not set
   227 # CT_CC_V_4_1_2 is not set
   228 # CT_CC_V_4_2_0 is not set
   229 # CT_CC_V_4_2_1 is not set
   230 # CT_CC_V_4_2_2 is not set
   231 # CT_CC_V_4_2_3 is not set
   232 # CT_CC_V_4_2_4 is not set
   233 # CT_CC_V_4_3_0 is not set
   234 CT_CC_V_4_3_1=y
   235 CT_CC_GCC_4_3_or_later=y
   236 CT_CC_CXA_ATEXIT=y
   237 CT_CC_SJLJ_EXCEPTIONS_CONFIGURE=y
   238 # CT_CC_SJLJ_EXCEPTIONS_USE is not set
   239 # CT_CC_SJLJ_EXCEPTIONS_DONT_USE is not set
   240 CT_CC_CORE_EXTRA_CONFIG=""
   241 CT_CC_EXTRA_CONFIG=""
   242 CT_CC_PKGVERSION="crosstool-NG-${CT_VERSION}"
   243 CT_CC_BUGURL=""
   244 CT_CC_SUPPORT_CXX=y
   245 CT_CC_SUPPORT_FORTRAN=y
   246 CT_CC_SUPPORT_JAVA=y
   247 CT_CC_SUPPORT_ADA=y
   248 CT_CC_SUPPORT_OBJC=y
   249 CT_CC_SUPPORT_OBJCXX=y
   250 
   251 #
   252 # Additional supported languages:
   253 #
   254 CT_CC_LANG_CXX=y
   255 CT_CC_LANG_FORTRAN=y
   256 CT_CC_LANG_JAVA=y
   257 # CT_CC_LANG_ADA is not set
   258 # CT_CC_LANG_OBJC is not set
   259 # CT_CC_LANG_OBJCXX is not set
   260 CT_CC_LANG_OTHERS=""
   261 CT_LIBC="eglibc"
   262 
   263 #
   264 # C-library
   265 #
   266 CT_LIBC_VERSION="2_8"
   267 # CT_LIBC_GLIBC is not set
   268 CT_LIBC_EGLIBC=y
   269 # CT_LIBC_UCLIBC is not set
   270 
   271 #
   272 # Common C library options
   273 #
   274 CT_LIBC_SUPPORT_NPTL=y
   275 CT_LIBC_SUPPORT_LINUXTHREADS=y
   276 CT_THREADS="nptl"
   277 CT_THREADS_NPTL=y
   278 # CT_THREADS_LINUXTHREADS is not set
   279 # CT_THREADS_NONE is not set
   280 
   281 #
   282 # eglibc specific options
   283 #
   284 # CT_EGLIBC_V_2_5 is not set
   285 # CT_EGLIBC_V_2_6 is not set
   286 # CT_EGLIBC_V_2_7 is not set
   287 CT_EGLIBC_V_2_8=y
   288 # CT_EGLIBC_V_TRUNK is not set
   289 CT_EGLIBC_REVISION="HEAD"
   290 CT_EGLIBC_CHECKOUT=y
   291 
   292 #
   293 # glibc/eglibc common options
   294 #
   295 CT_LIBC_GLIBC_EXTRA_CONFIG=""
   296 CT_LIBC_GLIBC_EXTRA_CFLAGS=""
   297 CT_LIBC_EXTRA_CC_ARGS=""
   298 CT_LIBC_GLIBC_USE_PORTS=y
   299 # CT_LIBC_ADDONS is not set
   300 # CT_LIBC_GLIBC_KERNEL_VERSION_NONE is not set
   301 CT_LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS=y
   302 # CT_LIBC_GLIBC_KERNEL_VERSION_CHOSEN is not set
   303 CT_LIBC_GLIBC_MIN_KERNEL="2.6.26.5"
   304 
   305 #
   306 # Tools facilities
   307 #
   308 CT_SSTRIP=y
   309 # CT_SSTRIP_ELFKICKERS is not set
   310 CT_SSTRIP_BUILDROOT=y
   311 CT_SSTRIP_FROM="buildroot"
   312 
   313 #
   314 # Debug facilities
   315 #
   316 CT_DMALLOC=y
   317 # CT_DMALLOC_V_5_4_3 is not set
   318 CT_DMALLOC_V_5_5_2=y
   319 CT_DMALLOC_VERSION="5.5.2"
   320 CT_DUMA=y
   321 CT_DUMA_A=y
   322 CT_DUMA_SO=y
   323 # CT_DUMA_V_2_5_1 is not set
   324 # CT_DUMA_V_2_5_8 is not set
   325 # CT_DUMA_V_2_5_12 is not set
   326 CT_DUMA_V_2_5_14=y
   327 CT_DUMA_VERSION="2_5_14"
   328 CT_GDB=y
   329 CT_GDB_CROSS=y
   330 # CT_GDB_CROSS_STATIC is not set
   331 # CT_GDB_CROSS_INSIGHT is not set
   332 CT_GDB_NATIVE=y
   333 # CT_GDB_NATIVE_STATIC is not set
   334 CT_GDB_NATIVE_USE_GMP_MPFR=y
   335 CT_GDB_GDBSERVER=y
   336 CT_GDB_GDBSERVER_STATIC=y
   337 # CT_GDB_V_6_4 is not set
   338 # CT_GDB_V_6_5 is not set
   339 # CT_GDB_V_6_6 is not set
   340 # CT_GDB_V_6_7 is not set
   341 # CT_GDB_V_6_7_1 is not set
   342 CT_GDB_V_6_8=y
   343 # CT_GDB_V_snapshot is not set
   344 CT_GDB_VERSION="6.8"
   345 
   346 #
   347 # Native gdb needs the ncurses library on the target
   348 #
   349 CT_NCURSES_V_5_6=y
   350 CT_NCURSES_VERSION="5.6"
   351 CT_STRACE=y
   352 # CT_STRACE_V_4_5 is not set
   353 # CT_STRACE_V_4_5_14 is not set
   354 # CT_STRACE_V_4_5_15 is not set
   355 CT_STRACE_V_4_5_16=y
   356 CT_STRACE_VERSION="4.5.16"