samples/arm-beagle-linux-gnueabi/crosstool.config
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Wed Sep 09 00:02:01 2009 +0200 (2009-09-09)
changeset 1525 4647e6fb994a
child 1532 4bbffda18b21
permissions -rw-r--r--
gcc: add patch to fix EABI for armv4t

As pointed out by Martin GUY, gcc incorrectly generates armv5t
instrcutions for EABI, even for cores that are an armv4t.
The new patch (for the 4.3 series) fixes the problem by downgrading
the default CPU for EABI to being an armv4t core.
     1 #
     2 # Automatically generated make config: don't edit
     3 # crosstool-NG version: svn_trunk@1549M
     4 # Sun May 24 18:20:58 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 is not set
    28 CT_INSTALL_DIR_RO=y
    29 
    30 #
    31 # Downloading
    32 #
    33 # CT_FORBID_DOWNLOAD is not set
    34 # CT_FORCE_DOWNLOAD is not set
    35 CT_USE_MIRROR=y
    36 # CT_PREFER_MIRROR is not set
    37 CT_MIRROR_BASE_URL="http://ymorin.is-a-geek.org/mirrors/"
    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="arm"
    76 # CT_ARCH_64 is not set
    77 # CT_ARCH_SUPPORTS_BOTH_MMU is not set
    78 CT_ARCH_SUPPORTS_BOTH_ENDIAN=y
    79 CT_ARCH_SUPPORT_ARCH=y
    80 # CT_ARCH_SUPPORT_ABI is not set
    81 CT_ARCH_SUPPORT_CPU=y
    82 CT_ARCH_SUPPORT_TUNE=y
    83 CT_ARCH_SUPPORT_FPU=y
    84 # CT_ARCH_DEFAULT_HAS_MMU is not set
    85 # CT_ARCH_DEFAULT_BE is not set
    86 CT_ARCH_DEFAULT_LE=y
    87 CT_ARCH_ARCH=""
    88 CT_ARCH_CPU="cortex-a8"
    89 CT_ARCH_TUNE="cortex-a8"
    90 CT_ARCH_FPU=""
    91 # CT_ARCH_BE is not set
    92 CT_ARCH_LE=y
    93 # CT_ARCH_FLOAT_HW is not set
    94 CT_ARCH_FLOAT_SW=y
    95 CT_TARGET_CFLAGS=""
    96 CT_TARGET_LDFLAGS=""
    97 
    98 #
    99 # General target options
   100 #
   101 # CT_ARCH_alpha is not set
   102 CT_ARCH_arm=y
   103 # CT_ARCH_ia64 is not set
   104 # CT_ARCH_mips is not set
   105 # CT_ARCH_powerpc is not set
   106 # CT_ARCH_powerpc64 is not set
   107 # CT_ARCH_sh is not set
   108 # CT_ARCH_x86 is not set
   109 # CT_ARCH_x86_64 is not set
   110 CT_ARCH_ARM_EABI=y
   111 CT_ARCH_USE_MMU=y
   112 
   113 #
   114 # Target optimisations
   115 #
   116 
   117 #
   118 # Toolchain options
   119 #
   120 
   121 #
   122 # General toolchain options
   123 #
   124 CT_USE_SYSROOT=y
   125 CT_SYSROOT_DIR_PREFIX=""
   126 CT_SHARED_LIBS=y
   127 
   128 #
   129 # Tuple completion and aliasing
   130 #
   131 CT_TARGET_VENDOR="beagle"
   132 CT_TARGET_ALIAS_SED_EXPR=""
   133 CT_TARGET_ALIAS=""
   134 
   135 #
   136 # Toolchain type
   137 #
   138 # CT_NATIVE is not set
   139 CT_CROSS=y
   140 # CT_CROSS_NATIVE is not set
   141 # CT_CANADIAN is not set
   142 CT_TOOLCHAIN_TYPE="cross"
   143 
   144 #
   145 # Build system
   146 #
   147 CT_BUILD=""
   148 CT_BUILD_PREFIX=""
   149 CT_BUILD_SUFFIX=""
   150 
   151 #
   152 # Operating System
   153 #
   154 # CT_BARE_METAL is not set
   155 CT_KERNEL="linux"
   156 CT_KERNEL_VERSION="2.6.29.4"
   157 # CT_KERNEL_bare_metal is not set
   158 CT_KERNEL_linux=y
   159 CT_KERNEL_LINUX_INSTALL=y
   160 CT_KERNEL_LINUX_INSTALL_CHECK=y
   161 # CT_KERNEL_V_2_6_18_8 is not set
   162 # CT_KERNEL_V_2_6_19_7 is not set
   163 # CT_KERNEL_V_2_6_20_21 is not set
   164 # CT_KERNEL_V_2_6_21_7 is not set
   165 # CT_KERNEL_V_2_6_22_19 is not set
   166 # CT_KERNEL_V_2_6_23_17 is not set
   167 # CT_KERNEL_V_2_6_24_7 is not set
   168 # CT_KERNEL_V_2_6_25_20 is not set
   169 # CT_KERNEL_V_2_6_26_8 is not set
   170 # CT_KERNEL_V_2_6_27_24 is not set
   171 # CT_KERNEL_V_2_6_28_10 is not set
   172 # CT_KERNEL_V_2_6_29 is not set
   173 # CT_KERNEL_V_2_6_29_1 is not set
   174 # CT_KERNEL_V_2_6_29_2 is not set
   175 # CT_KERNEL_V_2_6_29_3 is not set
   176 CT_KERNEL_V_2_6_29_4=y
   177 # CT_KERNEL_V_select is not set
   178 CT_KERNEL_LINUX_VERBOSITY_0=y
   179 # CT_KERNEL_LINUX_VERBOSITY_1 is not set
   180 # CT_KERNEL_LINUX_VERBOSITY_2 is not set
   181 CT_KERNEL_LINUX_VERBOSE_LEVEL=0
   182 # CT_KERNEL_LINUX_USE_CUSTOM_HEADERS is not set
   183 
   184 #
   185 # Companion libraries
   186 #
   187 CT_GMP_MPFR=y
   188 CT_GMP_MPFR_TARGET=y
   189 # CT_GMP_V_4_2_2 is not set
   190 CT_GMP_V_4_2_4=y
   191 CT_GMP_VERSION="4.2.4"
   192 CT_GMP_CHECK=y
   193 # CT_MPFR_V_2_3_1 is not set
   194 # CT_MPFR_V_2_3_2 is not set
   195 # CT_MPFR_V_2_4_0 is not set
   196 CT_MPFR_V_2_4_1=y
   197 CT_MPFR_VERSION="2.4.1"
   198 CT_MPFR_CHECK=y
   199 # CT_PPL_CLOOG is not set
   200 
   201 #
   202 # Binary utilities
   203 #
   204 CT_ARCH_BINFMT_ELF=y
   205 # CT_ARCH_BINFMT_FLAT is not set
   206 
   207 #
   208 # GNU binutils
   209 #
   210 CT_BINUTILS_VERSION="2.19.1"
   211 # CT_BINUTILS_V_2_14 is not set
   212 # CT_BINUTILS_V_2_15 is not set
   213 # CT_BINUTILS_V_2_16_1 is not set
   214 # CT_BINUTILS_V_2_17 is not set
   215 # CT_BINUTILS_V_2_18 is not set
   216 # CT_BINUTILS_V_2_18_50_0_4 is not set
   217 # CT_BINUTILS_V_2_18_50_0_6 is not set
   218 # CT_BINUTILS_V_2_18_50_0_7 is not set
   219 # CT_BINUTILS_V_2_18_50_0_8 is not set
   220 # CT_BINUTILS_V_2_18_50_0_9 is not set
   221 # CT_BINUTILS_V_2_18_90 is not set
   222 # CT_BINUTILS_V_2_18_91 is not set
   223 # CT_BINUTILS_V_2_18_92 is not set
   224 # CT_BINUTILS_V_2_18_93 is not set
   225 # CT_BINUTILS_V_2_19 is not set
   226 CT_BINUTILS_V_2_19_1=y
   227 # CT_BINUTILS_V_2_19_50_0_1 is not set
   228 # CT_BINUTILS_V_2_19_51_0_1 is not set
   229 # CT_BINUTILS_V_2_19_51_0_2 is not set
   230 CT_BINUTILS_EXTRA_CONFIG=""
   231 CT_BINUTILS_FOR_TARGET=y
   232 CT_BINUTILS_FOR_TARGET_IBERTY=y
   233 CT_BINUTILS_FOR_TARGET_BFD=y
   234 
   235 #
   236 # C compiler
   237 #
   238 CT_CC="gcc"
   239 CT_CC_VERSION="4.3.3"
   240 CT_CC_gcc=y
   241 # CT_CC_V_3_2_3 is not set
   242 # CT_CC_V_3_3_6 is not set
   243 # CT_CC_V_3_4_6 is not set
   244 # CT_CC_V_4_0_0 is not set
   245 # CT_CC_V_4_0_1 is not set
   246 # CT_CC_V_4_0_2 is not set
   247 # CT_CC_V_4_0_3 is not set
   248 # CT_CC_V_4_0_4 is not set
   249 # CT_CC_V_4_1_0 is not set
   250 # CT_CC_V_4_1_1 is not set
   251 # CT_CC_V_4_1_2 is not set
   252 # CT_CC_V_4_2_0 is not set
   253 # CT_CC_V_4_2_1 is not set
   254 # CT_CC_V_4_2_2 is not set
   255 # CT_CC_V_4_2_3 is not set
   256 # CT_CC_V_4_2_4 is not set
   257 # CT_CC_V_4_3_0 is not set
   258 # CT_CC_V_4_3_1 is not set
   259 # CT_CC_V_4_3_2 is not set
   260 CT_CC_V_4_3_3=y
   261 # CT_CC_V_4_4_0 is not set
   262 CT_CC_GCC_4_3_or_later=y
   263 # CT_CC_GCC_4_4_or_later is not set
   264 CT_CC_CXA_ATEXIT=y
   265 # CT_CC_SJLJ_EXCEPTIONS_CONFIGURE is not set
   266 # CT_CC_SJLJ_EXCEPTIONS_USE is not set
   267 CT_CC_SJLJ_EXCEPTIONS_DONT_USE=y
   268 CT_CC_CORE_EXTRA_CONFIG=""
   269 CT_CC_EXTRA_CONFIG=""
   270 CT_CC_PKGVERSION="crosstool-NG-${CT_VERSION}"
   271 CT_CC_BUGURL=""
   272 CT_CC_SUPPORT_CXX=y
   273 CT_CC_SUPPORT_FORTRAN=y
   274 CT_CC_SUPPORT_JAVA=y
   275 CT_CC_SUPPORT_ADA=y
   276 CT_CC_SUPPORT_OBJC=y
   277 CT_CC_SUPPORT_OBJCXX=y
   278 
   279 #
   280 # Additional supported languages:
   281 #
   282 CT_CC_LANG_CXX=y
   283 # CT_CC_LANG_FORTRAN is not set
   284 # CT_CC_LANG_JAVA is not set
   285 CT_LIBC="glibc"
   286 
   287 #
   288 # C-library
   289 #
   290 CT_LIBC_VERSION="2.9"
   291 # CT_LIBC_eglibc is not set
   292 CT_LIBC_glibc=y
   293 # CT_LIBC_uClibc is not set
   294 # CT_LIBC_V_2_3_6 is not set
   295 # CT_LIBC_V_2_5 is not set
   296 # CT_LIBC_V_2_5_1 is not set
   297 # CT_LIBC_V_2_6 is not set
   298 # CT_LIBC_V_2_6_1 is not set
   299 # CT_LIBC_V_2_7 is not set
   300 # CT_LIBC_V_2_8 is not set
   301 CT_LIBC_V_2_9=y
   302 # CT_LIBC_V_LATEST is not set
   303 # CT_LIBC_V_date is not set
   304 CT_LIBC_GLIBC_2_8_or_later=y
   305 # CT_LIBC_GLIBC_TARBALL is not set
   306 CT_LIBC_GLIBC_CVS=y
   307 CT_LIBC_GLIBC_CVS_date="2009-03-29"
   308 
   309 #
   310 # glibc/eglibc common options
   311 #
   312 CT_LIBC_GLIBC_EXTRA_CONFIG=""
   313 CT_LIBC_GLIBC_CONFIGPARMS=""
   314 CT_LIBC_GLIBC_EXTRA_CFLAGS=""
   315 CT_LIBC_EXTRA_CC_ARGS=""
   316 CT_LIBC_GLIBC_USE_PORTS=y
   317 CT_LIBC_ADDONS_LIST=""
   318 
   319 #
   320 # WARNING!!!
   321 #
   322 
   323 #
   324 # For glibc >= 2.8, addons are only available via a CVS checkout.
   325 #
   326 
   327 #
   328 # Be sure to review the associated options, above.
   329 #
   330 # CT_LIBC_GLIBC_KERNEL_VERSION_NONE is not set
   331 CT_LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS=y
   332 # CT_LIBC_GLIBC_KERNEL_VERSION_CHOSEN is not set
   333 CT_LIBC_GLIBC_MIN_KERNEL="2.6.29.4"
   334 
   335 #
   336 # Common C library options
   337 #
   338 CT_LIBC_SUPPORT_NPTL=y
   339 CT_LIBC_SUPPORT_LINUXTHREADS=y
   340 CT_THREADS="nptl"
   341 CT_THREADS_NPTL=y
   342 # CT_THREADS_LINUXTHREADS is not set
   343 # CT_THREADS_NONE is not set
   344 
   345 #
   346 # Tools facilities
   347 #
   348 CT_TOOL_libelf=y
   349 CT_LIBELF_V_0_8_10=y
   350 CT_LIBELF_VERSION="0.8.10"
   351 CT_TOOL_sstrip=y
   352 CT_SSTRIP_BUILDROOT=y
   353 # CT_SSTRIP_ELFKICKERS is not set
   354 CT_SSTRIP_FROM="buildroot"
   355 
   356 #
   357 # Debug facilities
   358 #
   359 CT_DEBUG_dmalloc=y
   360 # CT_DMALLOC_V_5_4_3 is not set
   361 CT_DMALLOC_V_5_5_2=y
   362 CT_DMALLOC_VERSION="5.5.2"
   363 CT_DEBUG_duma=y
   364 CT_DUMA_A=y
   365 CT_DUMA_SO=y
   366 # CT_DUMA_V_2_5_1 is not set
   367 # CT_DUMA_V_2_5_8 is not set
   368 # CT_DUMA_V_2_5_12 is not set
   369 CT_DUMA_V_2_5_14=y
   370 CT_DUMA_VERSION="2_5_14"
   371 CT_DEBUG_gdb=y
   372 CT_GDB_CROSS=y
   373 # CT_GDB_CROSS_STATIC is not set
   374 CT_GDB_NATIVE=y
   375 # CT_GDB_NATIVE_STATIC is not set
   376 CT_GDB_NATIVE_USE_GMP_MPFR=y
   377 CT_GDB_GDBSERVER=y
   378 CT_GDB_GDBSERVER_STATIC=y
   379 # CT_GDB_V_6_4 is not set
   380 # CT_GDB_V_6_5 is not set
   381 # CT_GDB_V_6_6 is not set
   382 # CT_GDB_V_6_7 is not set
   383 # CT_GDB_V_6_7_1 is not set
   384 CT_GDB_V_6_8=y
   385 # CT_GDB_V_snapshot is not set
   386 CT_GDB_VERSION="6.8"
   387 
   388 #
   389 # Native gdb needs a native ncurses library
   390 #
   391 # CT_NCURSES_V_5_6 is not set
   392 CT_NCURSES_V_5_7=y
   393 CT_NCURSES_VERSION="5.7"
   394 CT_DEBUG_ltrace=y
   395 # CT_LTRACE_V_0_4 is not set
   396 CT_LTRACE_V_0_5=y
   397 # CT_LTRACE_V_0_5_1 is not set
   398 CT_LTRACE_VERSION="0.5"
   399 CT_DEBUG_strace=y
   400 # CT_STRACE_V_4_5 is not set
   401 # CT_STRACE_V_4_5_14 is not set
   402 # CT_STRACE_V_4_5_15 is not set
   403 # CT_STRACE_V_4_5_16 is not set
   404 CT_STRACE_V_4_5_17=y
   405 # CT_STRACE_V_4_5_18 is not set
   406 CT_STRACE_VERSION="4.5.17"