samples/armeb-unknown-linux-gnu/crosstool.config
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue May 08 17:48:32 2007 +0000 (2007-05-08)
changeset 78 c3868084d81a
parent 3 ecd31949795a
child 85 ac2845835b13
permissions -rw-r--r--
Huge fixes to glibc build, so that we can build at least (and at last):
- use ports addon even when installing headers,
- use optimisation (-O) when installing headers, to avoid unnecessary warnings (thanks Robert P. J. DAY for pointing this out!),
- lowest kernel version to use is only X.Y.Z, not X.Y.Z.T,
- a bit of preparations for NPTL (RSN I hope),
- fix fixing the linker scripts (changing the backup file is kind of useless and stupid);

Shut uClibc finish step: there really is nothing to do;

Add a patch for glibc-2.3.6 weak aliases handling on some archs (ARM and ALPHA at least);

Did not catch the make errors: fixed the pattern matching in scripts/functions;

Introduce a new log level, ALL:
- send components' build messages there,
- DEBUG log level is destined only for crosstool-NG debug messages,
- migrate sub-actions to use appropriate log levels;

Update the armeb-unknown-linux-gnu sample:
- it builds!
- uses gcc-4.0.4 and glibc-2.3.6,
- updated to latest config options set.
     1 #
     2 # Automatically generated make config: don't edit
     3 # crosstool-NG version: 0.0.2-svn
     4 # Tue May  8 18:48:51 2007
     5 #
     6 
     7 #
     8 # Paths and misc options
     9 #
    10 # CT_EXPERIMENTAL is not set
    11 # CT_OBSOLETE is not set
    12 CT_PARALLEL_JOBS=1
    13 CT_LOAD=0
    14 CT_NICE=0
    15 CT_USE_PIPES=y
    16 
    17 #
    18 # Paths
    19 #
    20 CT_TARBALLS_DIR="${HOME}/dev/src"
    21 CT_SRC_DIR="${CT_TOP_DIR}/build/${CT_TARGET}/${CT_CC}-${CT_CC_VERSION}-${CT_LIBC}-${CT_LIBC_VERSION}/src"
    22 CT_BUILD_DIR="${CT_TOP_DIR}/build/${CT_TARGET}/${CT_CC}-${CT_CC_VERSION}-${CT_LIBC}-${CT_LIBC_VERSION}/build"
    23 CT_PREFIX_DIR="/opt/x-tools/${CT_TARGET}"
    24 CT_INSTALL_DIR="${CT_PREFIX_DIR}"
    25 # CT_CUSTOM_PATCH is not set
    26 CT_REMOVE_DOCS=y
    27 
    28 #
    29 # Downloading
    30 #
    31 # CT_FORCE_DOWNLOAD is not set
    32 # CT_ONLY_DOWNLOAD is not set
    33 
    34 #
    35 # Extracting
    36 #
    37 # CT_FORCE_EXTRACT is not set
    38 # CT_ONLY_EXTRACT is not set
    39 
    40 #
    41 # Logging
    42 #
    43 # CT_LOG_ERROR is not set
    44 # CT_LOG_WARN is not set
    45 # CT_LOG_INFO is not set
    46 CT_LOG_EXTRA=y
    47 # CT_LOG_DEBUG is not set
    48 # CT_LOG_ALL is not set
    49 CT_LOG_LEVEL_MAX="EXTRA"
    50 # CT_LOG_SEE_TOOLS_WARN is not set
    51 # CT_LOG_PROGRESS_BAR is not set
    52 # CT_LOG_USE_COLORS is not set
    53 CT_LOG_TO_FILE=y
    54 CT_LOG_FILE="${CT_PREFIX_DIR}/${CT_TARGET}.log"
    55 
    56 #
    57 # Target options
    58 #
    59 
    60 #
    61 # General target options
    62 #
    63 CT_ARCH="arm"
    64 CT_ARCH_ARM=y
    65 # CT_ARCH_MIPS is not set
    66 # CT_ARCH_x86 is not set
    67 # CT_ARCH_x86_64 is not set
    68 CT_ARCH_SUPPORTS_BE=y
    69 CT_ARCH_SUPPORTS_LE=y
    70 CT_ARCH_BE=y
    71 # CT_ARCH_LE is not set
    72 
    73 #
    74 # Target optimisations
    75 #
    76 CT_ARCH_ARCH="armv5te"
    77 CT_ARCH_ABI=""
    78 CT_ARCH_CPU="xscale"
    79 CT_ARCH_TUNE="xscale"
    80 CT_ARCH_FPU=""
    81 # CT_ARCH_FLOAT_HW is not set
    82 CT_ARCH_FLOAT_SW=y
    83 CT_ARCH_FLOAT_SW_LIBFLOAT=y
    84 CT_TARGET_CFLAGS=""
    85 
    86 #
    87 # Toolchain options
    88 #
    89 
    90 #
    91 # General toolchain options
    92 #
    93 CT_USE_SYSROOT=y
    94 CT_SHARED_LIBS=y
    95 # CT_TARGET_MULTILIB is not set
    96 CT_TARGET_VENDOR="unknown"
    97 CT_TARGET_ALIAS=""
    98 
    99 #
   100 # Toolchain type
   101 #
   102 # CT_NATIVE is not set
   103 CT_CROSS=y
   104 # CT_CROSS_NATIVE is not set
   105 # CT_CANADIAN is not set
   106 CT_BUILD=""
   107 CT_CC_NATIVE="gcc"
   108 
   109 #
   110 # Kernel
   111 #
   112 CT_KERNEL_LINUX=y
   113 # CT_KERNEL_CYGWIN is not set
   114 CT_KERNEL_VERSION="2.6.21.1"
   115 CT_KERNEL_LINUX_HEADERS_INSTALL=y
   116 # CT_KERNEL_LINUX_HEADERS_SANITISED is not set
   117 # CT_KERNEL_LINUX_HEADERS_COPY is not set
   118 # CT_KERNEL_LINUX_HEADERS_USE_CUSTOM_DIR is not set
   119 CT_KERNEL="linux"
   120 CT_KERNEL_VERSION_SEE_EXTRAVERSION=y
   121 # CT_KERNEL_INSTALL_V_2_6_18 is not set
   122 # CT_KERNEL_INSTALL_V_2_6_18_1 is not set
   123 # CT_KERNEL_INSTALL_V_2_6_18_2 is not set
   124 # CT_KERNEL_INSTALL_V_2_6_18_3 is not set
   125 # CT_KERNEL_INSTALL_V_2_6_18_4 is not set
   126 # CT_KERNEL_INSTALL_V_2_6_18_5 is not set
   127 # CT_KERNEL_INSTALL_V_2_6_18_6 is not set
   128 # CT_KERNEL_INSTALL_V_2_6_19 is not set
   129 # CT_KERNEL_INSTALL_V_2_6_19_1 is not set
   130 # CT_KERNEL_INSTALL_V_2_6_19_2 is not set
   131 # CT_KERNEL_INSTALL_V_2_6_20 is not set
   132 # CT_KERNEL_INSTALL_V_2_6_20_1 is not set
   133 # CT_KERNEL_INSTALL_V_2_6_20_2 is not set
   134 # CT_KERNEL_INSTALL_V_2_6_20_3 is not set
   135 # CT_KERNEL_INSTALL_V_2_6_20_4 is not set
   136 # CT_KERNEL_INSTALL_V_2_6_20_5 is not set
   137 # CT_KERNEL_INSTALL_V_2_6_20_6 is not set
   138 # CT_KERNEL_INSTALL_V_2_6_20_7 is not set
   139 # CT_KERNEL_INSTALL_V_2_6_21 is not set
   140 CT_KERNEL_INSTALL_V_2_6_21_1=y
   141 CT_KERNEL_LINUX_VERBOSITY_0=y
   142 # CT_KERNEL_LINUX_VERBOSITY_1 is not set
   143 # CT_KERNEL_LINUX_VERBOSITY_2 is not set
   144 CT_KERNEL_LINUX_VERBOSE_LEVEL=0
   145 # CT_KERNEL_LINUX_NEEDS_CONFIG is not set
   146 
   147 #
   148 # binutils
   149 #
   150 CT_BINUTILS_VERSION="2.17.50.0.14"
   151 # CT_BINUTILS_V_2_11_2 is not set
   152 # CT_BINUTILS_V_2_13_90 is not set
   153 # CT_BINUTILS_V_2_14 is not set
   154 # CT_BINUTILS_V_2_14_90 is not set
   155 # CT_BINUTILS_V_2_14_92 is not set
   156 # CT_BINUTILS_V_2_15 is not set
   157 # CT_BINUTILS_V_2_15_90 is not set
   158 # CT_BINUTILS_V_2_15_91 is not set
   159 # CT_BINUTILS_V_2_16 is not set
   160 # CT_BINUTILS_V_2_16_1 is not set
   161 # CT_BINUTILS_V_2_17 is not set
   162 # CT_BINUTILS_V_2_17_50_0_1 is not set
   163 # CT_BINUTILS_V_2_17_50_0_2 is not set
   164 # CT_BINUTILS_V_2_17_50_0_3 is not set
   165 # CT_BINUTILS_V_2_17_50_0_4 is not set
   166 # CT_BINUTILS_V_2_17_50_0_5 is not set
   167 # CT_BINUTILS_V_2_17_50_0_6 is not set
   168 # CT_BINUTILS_V_2_17_50_0_7 is not set
   169 # CT_BINUTILS_V_2_17_50_0_8 is not set
   170 # CT_BINUTILS_V_2_17_50_0_9 is not set
   171 # CT_BINUTILS_V_2_17_50_0_10 is not set
   172 # CT_BINUTILS_V_2_17_50_0_11 is not set
   173 # CT_BINUTILS_V_2_17_50_0_12 is not set
   174 # CT_BINUTILS_V_2_17_50_0_13 is not set
   175 CT_BINUTILS_V_2_17_50_0_14=y
   176 CT_BINUTILS_EXTRA_CONFIG=""
   177 
   178 #
   179 # C compiler
   180 #
   181 
   182 #
   183 # Core C Compiler (used to build the C library)
   184 #
   185 # CT_CC_USE_CORE is not set
   186 CT_CC_CORE_GCC=y
   187 # CT_CC_CORE_TCC is not set
   188 CT_CC_CORE="gcc"
   189 
   190 #
   191 # Final C compiler
   192 #
   193 CT_CC_GCC=y
   194 CT_CC_VERSION="4.0.4"
   195 CT_CC="gcc"
   196 # CT_CC_V_2_95_3 is not set
   197 # CT_CC_V_3_2_3 is not set
   198 # CT_CC_V_3_3 is not set
   199 # CT_CC_V_3_3_1 is not set
   200 # CT_CC_V_3_3_2 is not set
   201 # CT_CC_V_3_3_3 is not set
   202 # CT_CC_V_3_3_4 is not set
   203 # CT_CC_V_3_3_5 is not set
   204 # CT_CC_V_3_3_6 is not set
   205 # CT_CC_V_3_4_0 is not set
   206 # CT_CC_V_3_4_1 is not set
   207 # CT_CC_V_3_4_2 is not set
   208 # CT_CC_V_3_4_3 is not set
   209 # CT_CC_V_3_4_4 is not set
   210 # CT_CC_V_3_4_5 is not set
   211 # CT_CC_V_3_4_6 is not set
   212 # CT_CC_V_4_0_0 is not set
   213 # CT_CC_V_4_0_1 is not set
   214 # CT_CC_V_4_0_2 is not set
   215 # CT_CC_V_4_0_3 is not set
   216 CT_CC_V_4_0_4=y
   217 # CT_CC_V_4_1_0 is not set
   218 # CT_CC_V_4_1_1 is not set
   219 # CT_CC_V_4_1_2 is not set
   220 CT_CC_CXA_ATEXIT=y
   221 CT_CC_EXTRA_CONFIG=""
   222 CT_CC_SUPPORT_CXX=y
   223 CT_CC_SUPPORT_FORTRAN=y
   224 CT_CC_SUPPORT_JAVA=y
   225 CT_CC_SUPPORT_ADA=y
   226 CT_CC_SUPPORT_OBJC=y
   227 CT_CC_SUPPORT_OBJCXX=y
   228 
   229 #
   230 # Additionnal supported languages:
   231 #
   232 CT_CC_LANG_CXX=y
   233 # CT_CC_LANG_FORTRAN is not set
   234 # CT_CC_LANG_JAVA is not set
   235 # CT_CC_LANG_ADA is not set
   236 # CT_CC_LANG_OBJC is not set
   237 # CT_CC_LANG_OBJCXX is not set
   238 CT_CC_LANG_OTHERS=""
   239 
   240 #
   241 # C-library
   242 #
   243 CT_LIBC_GLIBC=y
   244 # CT_LIBC_UCLIBC is not set
   245 CT_LIBC_VERSION="2.3.6"
   246 CT_LIBC="glibc"
   247 # CT_LIBC_V_1_09_1 is not set
   248 # CT_LIBC_V_2_0_1 is not set
   249 # CT_LIBC_V_2_0_6 is not set
   250 # CT_LIBC_V_2_1_1 is not set
   251 # CT_LIBC_V_2_1_2 is not set
   252 # CT_LIBC_V_2_1_3 is not set
   253 # CT_LIBC_V_2_2 is not set
   254 # CT_LIBC_V_2_2_1 is not set
   255 # CT_LIBC_V_2_2_2 is not set
   256 # CT_LIBC_V_2_2_3 is not set
   257 # CT_LIBC_V_2_2_4 is not set
   258 # CT_LIBC_V_2_2_5 is not set
   259 # CT_LIBC_V_2_3 is not set
   260 # CT_LIBC_V_2_3_1 is not set
   261 # CT_LIBC_V_2_3_2 is not set
   262 # CT_LIBC_V_2_3_3 is not set
   263 # CT_LIBC_V_2_3_4 is not set
   264 # CT_LIBC_V_2_3_5 is not set
   265 CT_LIBC_V_2_3_6=y
   266 # CT_LIBC_V_2_4 is not set
   267 # CT_LIBC_V_2_5 is not set
   268 # CT_LIBC_GLIBC_THREADS_NPTL is not set
   269 CT_LIBC_GLIBC_THREADS_LINUXTHREADS=y
   270 # CT_LIBC_GLIBC_THREADS_NONE is not set
   271 CT_LIBC_GLIBC_EXTRA_CONFIG=""
   272 CT_LIBC_GLIBC_EXTRA_CFLAGS=""
   273 CT_LIBC_EXTRA_CC_ARGS=""
   274 CT_LIBC_GLIBC_CONFIGPARMS=""
   275 # CT_LIBC_GLIBC_USE_PORTS is not set
   276 CT_LIBC_ADDONS=y
   277 CT_LIBC_ADDONS_LIST="linuxthreads"