samples/armeb-unknown-linux-uclibc/crosstool.config
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Thu Mar 26 18:47:34 2009 +0000 (2009-03-26)
changeset 1268 5594b05bc2d8
parent 1076 faaf799d6b5e
child 1283 f5e7ce8f5793
permissions -rw-r--r--
Add support for building toolchains with gcc-4.4 snapshots.
Initial patch by Dmitry PLOTNIKOV: http://sourceware.org/ml/crossgcc/2009-03/msg00053.html
It [the toolchain] uses current ct-ng (nightly snapshot 20090324, latest
release 1.3.2 work also), glibc 2.9 (from CVS), binutils 2.19 and latest
snapshot of GCC 4.4.0 (as of March 20, 2009).

We have successfully built linux kernel 2.6.29 and a lot of other stuff
with this toolchain.

Here's the patch that adds GCC 4.4.0 to the ct-ng menu and enables it to
download a 4.4.0 snapshot from ftp.

Patch was adpated by me, mostly to better fit the configuration layout.

/trunk/scripts/build/cc/gcc.sh | 34 22 12 0 ++++++++++++++++++++++------------
/trunk/config/cc/gcc.in | 35 30 5 0 ++++++++++++++++++++++++++++++-----
2 files changed, 52 insertions(+), 17 deletions(-)
     1 #
     2 # Automatically generated make config: don't edit
     3 # crosstool-NG version: svn_trunk@1291M
     4 # Sun Jan  4 23:54:20 2009
     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 is not set
    16 # CT_DEBUG_CT is not set
    17 
    18 #
    19 # Paths
    20 #
    21 CT_LOCAL_TARBALLS_DIR="${HOME}/src"
    22 CT_SAVE_TARBALLS=y
    23 CT_WORK_DIR="${CT_TOP_DIR}/targets"
    24 CT_PREFIX_DIR="${HOME}/x-tools/${CT_TARGET}"
    25 CT_INSTALL_DIR="${CT_PREFIX_DIR}"
    26 # CT_CUSTOM_PATCH is not set
    27 CT_REMOVE_DOCS=y
    28 CT_INSTALL_DIR_RO=y
    29 
    30 #
    31 # Downloading
    32 #
    33 # CT_FORCE_DOWNLOAD is not set
    34 # CT_USE_PROXY is not set
    35 CT_PROXY_TYPE="none"
    36 CT_USE_MIRROR=y
    37 # CT_PREFER_MIRROR is not set
    38 CT_MIRROR_HTTP=y
    39 # CT_MIRROR_FTP is not set
    40 CT_MIRROR_SCHEME="http"
    41 CT_MIRROR_HOSTNAME="ymorin.is-a-geek.org"
    42 CT_MIRROR_BASE="/mirrors"
    43 CT_CONNECT_TIMEOUT=10
    44 # CT_ONLY_DOWNLOAD is not set
    45 
    46 #
    47 # Extracting
    48 #
    49 # CT_FORCE_EXTRACT is not set
    50 CT_OVERIDE_CONFIG_GUESS_SUB=y
    51 # CT_ONLY_EXTRACT is not set
    52 
    53 #
    54 # Build behavior
    55 #
    56 CT_PARALLEL_JOBS=1
    57 CT_LOAD=0
    58 CT_NICE=0
    59 CT_USE_PIPES=y
    60 # CT_CONFIG_SHELL_ASH is not set
    61 
    62 #
    63 # Logging
    64 #
    65 # CT_LOG_ERROR is not set
    66 # CT_LOG_WARN is not set
    67 # CT_LOG_INFO is not set
    68 CT_LOG_EXTRA=y
    69 # CT_LOG_DEBUG is not set
    70 # CT_LOG_ALL is not set
    71 CT_LOG_LEVEL_MAX="EXTRA"
    72 # CT_LOG_SEE_TOOLS_WARN is not set
    73 CT_LOG_PROGRESS_BAR=y
    74 CT_LOG_TO_FILE=y
    75 CT_LOG_FILE_COMPRESS=y
    76 
    77 #
    78 # Target options
    79 #
    80 CT_ARCH="arm"
    81 # CT_ARCH_64 is not set
    82 CT_ARCH_SUPPORT_ARCH=y
    83 CT_ARCH_SUPPORT_ABI=y
    84 CT_ARCH_SUPPORT_CPU=y
    85 CT_ARCH_SUPPORT_TUNE=y
    86 CT_ARCH_SUPPORT_FPU=y
    87 CT_ARCH_SUPPORTS_BOTH_ENDIAN=y
    88 # CT_ARCH_DEFAULT_BE is not set
    89 CT_ARCH_DEFAULT_LE=y
    90 CT_ARCH_ARCH="armv5te"
    91 CT_ARCH_ABI=""
    92 CT_ARCH_CPU="xscale"
    93 CT_ARCH_TUNE="xscale"
    94 CT_ARCH_FPU=""
    95 CT_ARCH_BE=y
    96 # CT_ARCH_LE is not set
    97 # CT_ARCH_FLOAT_HW is not set
    98 CT_ARCH_FLOAT_SW=y
    99 CT_TARGET_CFLAGS=""
   100 CT_TARGET_LDFLAGS=""
   101 
   102 #
   103 # General target options
   104 #
   105 # CT_ARCH_alpha is not set
   106 CT_ARCH_arm=y
   107 # CT_ARCH_ia64 is not set
   108 # CT_ARCH_mips is not set
   109 # CT_ARCH_powerpc is not set
   110 # CT_ARCH_sh is not set
   111 # CT_ARCH_x86 is not set
   112 # CT_ARCH_x86_64 is not set
   113 # CT_ARCH_ARM_EABI is not set
   114 CT_ARCH_ARM_ABI_OK=y
   115 
   116 #
   117 # Target optimisations
   118 #
   119 
   120 #
   121 # Toolchain options
   122 #
   123 
   124 #
   125 # General toolchain options
   126 #
   127 CT_USE_SYSROOT=y
   128 CT_SHARED_LIBS=y
   129 CT_TARGET_VENDOR="unknown"
   130 CT_TARGET_ALIAS_SED_EXPR=""
   131 CT_TARGET_ALIAS=""
   132 
   133 #
   134 # Toolchain type
   135 #
   136 # CT_NATIVE is not set
   137 CT_CROSS=y
   138 # CT_CROSS_NATIVE is not set
   139 # CT_CANADIAN is not set
   140 CT_TOOLCHAIN_TYPE="cross"
   141 
   142 #
   143 # Build system
   144 #
   145 CT_BUILD=""
   146 CT_BUILD_PREFIX=""
   147 CT_BUILD_SUFFIX=""
   148 
   149 #
   150 # Operating System
   151 #
   152 # CT_BARE_METAL is not set
   153 CT_KERNEL="linux"
   154 CT_KERNEL_VERSION="2.6.26.8"
   155 # CT_KERNEL_bare_metal is not set
   156 CT_KERNEL_linux=y
   157 CT_KERNEL_LINUX_INSTALL=y
   158 CT_KERNEL_LINUX_INSTALL_CHECK=y
   159 # CT_KERNEL_V_2_6_18_8 is not set
   160 # CT_KERNEL_V_2_6_19_7 is not set
   161 # CT_KERNEL_V_2_6_20_21 is not set
   162 # CT_KERNEL_V_2_6_21_7 is not set
   163 # CT_KERNEL_V_2_6_22_19 is not set
   164 # CT_KERNEL_V_2_6_23_17 is not set
   165 # CT_KERNEL_V_2_6_24_7 is not set
   166 # CT_KERNEL_V_2_6_25_20 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 is not set
   173 # CT_KERNEL_V_2_6_26_6 is not set
   174 # CT_KERNEL_V_2_6_26_7 is not set
   175 CT_KERNEL_V_2_6_26_8=y
   176 # CT_KERNEL_V_2_6_27 is not set
   177 # CT_KERNEL_V_2_6_27_1 is not set
   178 # CT_KERNEL_V_2_6_27_2 is not set
   179 # CT_KERNEL_V_2_6_27_3 is not set
   180 # CT_KERNEL_V_2_6_27_4 is not set
   181 # CT_KERNEL_V_2_6_27_5 is not set
   182 # CT_KERNEL_V_2_6_27_6 is not set
   183 # CT_KERNEL_V_2_6_27_7 is not set
   184 # CT_KERNEL_V_2_6_27_8 is not set
   185 # CT_KERNEL_V_2_6_27_9 is not set
   186 # CT_KERNEL_V_2_6_27_10 is not set
   187 # CT_KERNEL_V_2_6_28 is not set
   188 CT_KERNEL_LINUX_VERBOSITY_0=y
   189 # CT_KERNEL_LINUX_VERBOSITY_1 is not set
   190 # CT_KERNEL_LINUX_VERBOSITY_2 is not set
   191 CT_KERNEL_LINUX_VERBOSE_LEVEL=0
   192 # CT_KERNEL_LINUX_USE_CUSTOM_DIR is not set
   193 
   194 #
   195 # GMP and MPFR
   196 #
   197 CT_GMP_MPFR=y
   198 CT_GMP_MPFR_TARGET=y
   199 # CT_GMP_V_4_2_2 is not set
   200 CT_GMP_V_4_2_4=y
   201 CT_GMP_VERSION="4.2.4"
   202 CT_GMP_CHECK=y
   203 # CT_MPFR_V_2_3_1 is not set
   204 CT_MPFR_V_2_3_2=y
   205 CT_MPFR_VERSION="2.3.2"
   206 CT_MPFR_CHECK=y
   207 
   208 #
   209 # binutils
   210 #
   211 CT_BINUTILS_VERSION="2.19"
   212 # CT_BINUTILS_V_2_14 is not set
   213 # CT_BINUTILS_V_2_15 is not set
   214 # CT_BINUTILS_V_2_16_1 is not set
   215 # CT_BINUTILS_V_2_17 is not set
   216 # CT_BINUTILS_V_2_18 is not set
   217 # CT_BINUTILS_V_2_18_50_0_4 is not set
   218 # CT_BINUTILS_V_2_18_50_0_6 is not set
   219 # CT_BINUTILS_V_2_18_50_0_7 is not set
   220 # CT_BINUTILS_V_2_18_50_0_8 is not set
   221 # CT_BINUTILS_V_2_18_50_0_9 is not set
   222 # CT_BINUTILS_V_2_18_90 is not set
   223 # CT_BINUTILS_V_2_18_91 is not set
   224 # CT_BINUTILS_V_2_18_92 is not set
   225 # CT_BINUTILS_V_2_18_93 is not set
   226 CT_BINUTILS_V_2_19=y
   227 # CT_BINUTILS_V_2_19_50_0_1 is not set
   228 CT_BINUTILS_EXTRA_CONFIG=""
   229 CT_BINUTILS_FOR_TARGET=y
   230 CT_BINUTILS_FOR_TARGET_IBERTY=y
   231 CT_BINUTILS_FOR_TARGET_BFD=y
   232 
   233 #
   234 # C compiler
   235 #
   236 CT_CC="gcc"
   237 CT_CC_VERSION="4.3.2"
   238 CT_CC_gcc=y
   239 # CT_CC_V_3_2_3 is not set
   240 # CT_CC_V_3_3_6 is not set
   241 # CT_CC_V_3_4_6 is not set
   242 # CT_CC_V_4_0_0 is not set
   243 # CT_CC_V_4_0_1 is not set
   244 # CT_CC_V_4_0_2 is not set
   245 # CT_CC_V_4_0_3 is not set
   246 # CT_CC_V_4_0_4 is not set
   247 # CT_CC_V_4_1_0 is not set
   248 # CT_CC_V_4_1_1 is not set
   249 # CT_CC_V_4_1_2 is not set
   250 # CT_CC_V_4_2_0 is not set
   251 # CT_CC_V_4_2_1 is not set
   252 # CT_CC_V_4_2_2 is not set
   253 # CT_CC_V_4_2_3 is not set
   254 # CT_CC_V_4_2_4 is not set
   255 # CT_CC_V_4_3_0 is not set
   256 # CT_CC_V_4_3_1 is not set
   257 CT_CC_V_4_3_2=y
   258 CT_CC_GCC_4_3_or_later=y
   259 CT_CC_CXA_ATEXIT=y
   260 CT_CC_SJLJ_EXCEPTIONS_CONFIGURE=y
   261 # CT_CC_SJLJ_EXCEPTIONS_USE is not set
   262 # CT_CC_SJLJ_EXCEPTIONS_DONT_USE is not set
   263 CT_CC_CORE_EXTRA_CONFIG=""
   264 CT_CC_EXTRA_CONFIG=""
   265 CT_CC_PKGVERSION="crosstool-NG-${CT_VERSION}"
   266 CT_CC_BUGURL=""
   267 CT_CC_SUPPORT_CXX=y
   268 CT_CC_SUPPORT_FORTRAN=y
   269 CT_CC_SUPPORT_JAVA=y
   270 CT_CC_SUPPORT_ADA=y
   271 CT_CC_SUPPORT_OBJC=y
   272 CT_CC_SUPPORT_OBJCXX=y
   273 
   274 #
   275 # Additional supported languages:
   276 #
   277 CT_CC_LANG_CXX=y
   278 CT_CC_LANG_FORTRAN=y
   279 # CT_CC_LANG_JAVA is not set
   280 CT_LIBC="uClibc"
   281 
   282 #
   283 # C-library
   284 #
   285 CT_LIBC_VERSION="0.9.30"
   286 # CT_LIBC_eglibc is not set
   287 # CT_LIBC_glibc is not set
   288 CT_LIBC_uClibc=y
   289 # CT_LIBC_V_0_9_28 is not set
   290 # CT_LIBC_V_0_9_28_1 is not set
   291 # CT_LIBC_V_0_9_28_2 is not set
   292 # CT_LIBC_V_0_9_28_3 is not set
   293 # CT_LIBC_V_0_9_29 is not set
   294 CT_LIBC_V_0_9_30=y
   295 # CT_LIBC_V_snapshot is not set
   296 # CT_LIBC_V_specific_date is not set
   297 # CT_LIBC_UCLIBC_PARALLEL is not set
   298 CT_LIBC_UCLIBC_VERBOSITY_0=y
   299 # CT_LIBC_UCLIBC_VERBOSITY_1 is not set
   300 CT_LIBC_UCLIBC_VERBOSITY=""
   301 CT_LIBC_UCLIBC_DEBUG_LEVEL_0=y
   302 # CT_LIBC_UCLIBC_DEBUG_LEVEL_1 is not set
   303 # CT_LIBC_UCLIBC_DEBUG_LEVEL_2 is not set
   304 CT_LIBC_UCLIBC_DEBUG_LEVEL=0
   305 CT_LIBC_UCLIBC_CONFIG_FILE="${CT_LIB_DIR}/samples/${CT_TARGET}/${CT_LIBC}-${CT_LIBC_VERSION}.config"
   306 # CT_LIBC_UCLIBC_LOCALES is not set
   307 
   308 #
   309 # Common C library options
   310 #
   311 # CT_LIBC_SUPPORT_NPTL is not set
   312 CT_LIBC_SUPPORT_LINUXTHREADS=y
   313 CT_THREADS="linuxthreads"
   314 # CT_THREADS_NPTL is not set
   315 CT_THREADS_LINUXTHREADS=y
   316 # CT_THREADS_NONE is not set
   317 
   318 #
   319 # Tools facilities
   320 #
   321 CT_TOOL_libelf=y
   322 CT_LIBELF_V_0_8_10=y
   323 CT_LIBELF_VERSION="0.8.10"
   324 CT_TOOL_sstrip=y
   325 # CT_SSTRIP_ELFKICKERS is not set
   326 CT_SSTRIP_BUILDROOT=y
   327 CT_SSTRIP_FROM="buildroot"
   328 
   329 #
   330 # Debug facilities
   331 #
   332 CT_DEBUG_dmalloc=y
   333 # CT_DMALLOC_V_5_4_3 is not set
   334 CT_DMALLOC_V_5_5_2=y
   335 CT_DMALLOC_VERSION="5.5.2"
   336 CT_DEBUG_duma=y
   337 CT_DUMA_A=y
   338 CT_DUMA_SO=y
   339 # CT_DUMA_V_2_5_1 is not set
   340 # CT_DUMA_V_2_5_8 is not set
   341 # CT_DUMA_V_2_5_12 is not set
   342 CT_DUMA_V_2_5_14=y
   343 CT_DUMA_VERSION="2_5_14"
   344 CT_DEBUG_gdb=y
   345 CT_GDB_CROSS=y
   346 # CT_GDB_CROSS_STATIC is not set
   347 CT_GDB_NATIVE=y
   348 # CT_GDB_NATIVE_STATIC is not set
   349 CT_GDB_NATIVE_USE_GMP_MPFR=y
   350 CT_GDB_GDBSERVER=y
   351 CT_GDB_GDBSERVER_STATIC=y
   352 # CT_GDB_V_6_4 is not set
   353 # CT_GDB_V_6_5 is not set
   354 # CT_GDB_V_6_6 is not set
   355 # CT_GDB_V_6_7 is not set
   356 # CT_GDB_V_6_7_1 is not set
   357 CT_GDB_V_6_8=y
   358 # CT_GDB_V_snapshot is not set
   359 CT_GDB_VERSION="6.8"
   360 
   361 #
   362 # Native gdb needs the ncurses library on the target
   363 #
   364 CT_NCURSES_V_5_6=y
   365 CT_NCURSES_VERSION="5.6"
   366 CT_DEBUG_ltrace=y
   367 # CT_LTRACE_V_0_4 is not set
   368 CT_LTRACE_V_0_5=y
   369 CT_LTRACE_VERSION="0.5"
   370 CT_DEBUG_strace=y
   371 # CT_STRACE_V_4_5 is not set
   372 # CT_STRACE_V_4_5_14 is not set
   373 # CT_STRACE_V_4_5_15 is not set
   374 # CT_STRACE_V_4_5_16 is not set
   375 CT_STRACE_V_4_5_17=y
   376 # CT_STRACE_V_4_5_18 is not set
   377 CT_STRACE_VERSION="4.5.17"