samples/mipsel-sde-elf/crosstool.config
author Michael Hope <michael.hope@linaro.org>
Wed Oct 19 15:27:32 2011 +1300 (2011-10-19)
changeset 2739 f320e22f2cba
parent 2689 ced78fd59221
child 2861 3b8192272c2f
permissions -rw-r--r--
arch: add softfp support

Some architectures support a mixed hard/soft floating point, where
the compiler emits hardware floating point instructions, but passes
the operands in core (aka integer) registers.

For example, ARM supports this mode (to come in the next changeset).

Add support for softfp cross compilers to the GCC and GLIBC
configuration. Needed for Ubuntu and other distros that are softfp.

Signed-off-by: Michael Hope <michael.hope@linaro.org>
[yann.morin.1998@anciens.enib.fr: split the original patch]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
     1 #
     2 # Automatically generated make config: don't edit
     3 # crosstool-NG hg_default@2721_7b64746b0ab3 Configuration
     4 # Sun Oct 16 17:31:08 2011
     5 #
     6 CT_CONFIGURE_has_xzutils=y
     7 CT_CONFIGURE_has_cvs=y
     8 CT_CONFIGURE_has_svn=y
     9 CT_MODULES=y
    10 
    11 #
    12 # Paths and misc options
    13 #
    14 
    15 #
    16 # crosstool-NG behavior
    17 #
    18 # CT_OBSOLETE is not set
    19 # CT_EXPERIMENTAL is not set
    20 # CT_DEBUG_CT is not set
    21 
    22 #
    23 # Paths
    24 #
    25 CT_LOCAL_TARBALLS_DIR="${HOME}/src"
    26 CT_SAVE_TARBALLS=y
    27 CT_WORK_DIR="${CT_TOP_DIR}/.build"
    28 CT_PREFIX_DIR="${HOME}/x-tools/${CT_TARGET}"
    29 CT_INSTALL_DIR="${CT_PREFIX_DIR}"
    30 CT_RM_RF_PREFIX_DIR=y
    31 CT_REMOVE_DOCS=y
    32 CT_INSTALL_DIR_RO=y
    33 CT_STRIP_ALL_TOOLCHAIN_EXECUTABLES=y
    34 
    35 #
    36 # Downloading
    37 #
    38 # CT_FORBID_DOWNLOAD is not set
    39 # CT_FORCE_DOWNLOAD is not set
    40 CT_CONNECT_TIMEOUT=10
    41 # CT_ONLY_DOWNLOAD is not set
    42 # CT_USE_MIRROR is not set
    43 
    44 #
    45 # Extracting
    46 #
    47 # CT_FORCE_EXTRACT is not set
    48 CT_OVERIDE_CONFIG_GUESS_SUB=y
    49 # CT_ONLY_EXTRACT is not set
    50 CT_PATCH_BUNDLED=y
    51 # CT_PATCH_LOCAL is not set
    52 # CT_PATCH_BUNDLED_LOCAL is not set
    53 # CT_PATCH_LOCAL_BUNDLED is not set
    54 # CT_PATCH_BUNDLED_FALLBACK_LOCAL is not set
    55 # CT_PATCH_LOCAL_FALLBACK_BUNDLED is not set
    56 # CT_PATCH_NONE is not set
    57 CT_PATCH_ORDER="bundled"
    58 
    59 #
    60 # Build behavior
    61 #
    62 CT_PARALLEL_JOBS=0
    63 CT_LOAD=0
    64 CT_USE_PIPES=y
    65 CT_EXTRA_FLAGS_FOR_HOST=""
    66 # CT_CONFIG_SHELL_SH is not set
    67 # CT_CONFIG_SHELL_ASH is not set
    68 CT_CONFIG_SHELL_BASH=y
    69 # CT_CONFIG_SHELL_CUSTOM is not set
    70 CT_CONFIG_SHELL="${bash}"
    71 
    72 #
    73 # Logging
    74 #
    75 # CT_LOG_ERROR is not set
    76 # CT_LOG_WARN is not set
    77 # CT_LOG_INFO is not set
    78 CT_LOG_EXTRA=y
    79 # CT_LOG_ALL is not set
    80 # CT_LOG_DEBUG is not set
    81 CT_LOG_LEVEL_MAX="EXTRA"
    82 # CT_LOG_SEE_TOOLS_WARN is not set
    83 CT_LOG_PROGRESS_BAR=y
    84 CT_LOG_TO_FILE=y
    85 CT_LOG_FILE_COMPRESS=y
    86 
    87 #
    88 # Target options
    89 #
    90 CT_ARCH="mips"
    91 CT_ARCH_SUPPORTS_BOTH_ENDIAN=y
    92 CT_ARCH_SUPPORTS_32=y
    93 CT_ARCH_SUPPORT_ARCH=y
    94 CT_ARCH_SUPPORT_TUNE=y
    95 CT_ARCH_DEFAULT_BE=y
    96 CT_ARCH_DEFAULT_32=y
    97 CT_ARCH_ARCH=""
    98 CT_ARCH_TUNE=""
    99 # CT_ARCH_BE is not set
   100 CT_ARCH_LE=y
   101 CT_ARCH_32=y
   102 CT_ARCH_BITNESS=32
   103 # CT_ARCH_FLOAT_HW is not set
   104 CT_ARCH_FLOAT_SW=y
   105 CT_TARGET_CFLAGS=""
   106 CT_TARGET_LDFLAGS=""
   107 # CT_ARCH_alpha is not set
   108 # CT_ARCH_arm is not set
   109 # CT_ARCH_avr32 is not set
   110 # CT_ARCH_blackfin is not set
   111 CT_ARCH_mips=y
   112 # CT_ARCH_powerpc is not set
   113 # CT_ARCH_sh is not set
   114 # CT_ARCH_sparc is not set
   115 # CT_ARCH_x86 is not set
   116 CT_ARCH_alpha_AVAILABLE=y
   117 CT_ARCH_arm_AVAILABLE=y
   118 CT_ARCH_avr32_AVAILABLE=y
   119 CT_ARCH_blackfin_AVAILABLE=y
   120 CT_ARCH_m68k_AVAILABLE=y
   121 CT_ARCH_mips_AVAILABLE=y
   122 CT_ARCH_powerpc_AVAILABLE=y
   123 CT_ARCH_s390_AVAILABLE=y
   124 CT_ARCH_sh_AVAILABLE=y
   125 CT_ARCH_sparc_AVAILABLE=y
   126 CT_ARCH_x86_AVAILABLE=y
   127 
   128 #
   129 # Generic target options
   130 #
   131 CT_ARCH_USE_MMU=y
   132 
   133 #
   134 # Target optimisations
   135 #
   136 
   137 #
   138 # mips other options
   139 #
   140 CT_ARCH_mips_o32=y
   141 CT_ARCH_mips_ABI="32"
   142 
   143 #
   144 # Toolchain options
   145 #
   146 
   147 #
   148 # General toolchain options
   149 #
   150 CT_FORCE_SYSROOT=y
   151 CT_USE_SYSROOT=y
   152 CT_SYSROOT_NAME="sysroot"
   153 CT_SYSROOT_DIR_PREFIX=""
   154 CT_WANTS_STATIC_LINK=y
   155 CT_TOOLCHAIN_PKGVERSION=""
   156 CT_TOOLCHAIN_BUGURL=""
   157 
   158 #
   159 # Tuple completion and aliasing
   160 #
   161 CT_TARGET_VENDOR="sde"
   162 CT_TARGET_ALIAS_SED_EXPR=""
   163 CT_TARGET_ALIAS=""
   164 
   165 #
   166 # Toolchain type
   167 #
   168 CT_CROSS=y
   169 CT_TOOLCHAIN_TYPE="cross"
   170 
   171 #
   172 # Build system
   173 #
   174 CT_BUILD=""
   175 CT_BUILD_PREFIX=""
   176 CT_BUILD_SUFFIX=""
   177 
   178 #
   179 # Operating System
   180 #
   181 CT_BARE_METAL=y
   182 CT_KERNEL="bare-metal"
   183 CT_KERNEL_bare_metal=y
   184 # CT_KERNEL_linux is not set
   185 CT_KERNEL_bare_metal_AVAILABLE=y
   186 CT_KERNEL_linux_AVAILABLE=y
   187 CT_KERNEL_mingw32_AVAILABLE=y
   188 
   189 #
   190 # Common kernel options
   191 #
   192 
   193 #
   194 # Binary utilities
   195 #
   196 CT_ARCH_BINFMT_ELF=y
   197 
   198 #
   199 # GNU binutils
   200 #
   201 CT_BINUTILS_V_2_21_1a=y
   202 # CT_BINUTILS_V_2_20_1a is not set
   203 # CT_BINUTILS_V_2_19_1a is not set
   204 # CT_BINUTILS_V_2_18a is not set
   205 CT_BINUTILS_VERSION="2.21.1a"
   206 CT_BINUTILS_2_21_or_later=y
   207 CT_BINUTILS_2_20_or_later=y
   208 CT_BINUTILS_2_19_or_later=y
   209 CT_BINUTILS_2_18_or_later=y
   210 CT_BINUTILS_HAS_GOLD=y
   211 CT_BINUTILS_HAS_PLUGINS=y
   212 CT_BINUTILS_HAS_PKGVERSION_BUGURL=y
   213 CT_BINUTILS_LINKER_LD=y
   214 CT_BINUTILS_LINKERS_LIST="ld"
   215 CT_BINUTILS_LINKER_DEFAULT="bfd"
   216 # CT_BINUTILS_PLUGINS is not set
   217 CT_BINUTILS_EXTRA_CONFIG_ARRAY=""
   218 
   219 #
   220 # C compiler
   221 #
   222 CT_CC="gcc"
   223 CT_CC_VERSION="4.4.6"
   224 CT_CC_gcc=y
   225 CT_CC_V_4_4_6=y
   226 # CT_CC_V_4_4_5 is not set
   227 # CT_CC_V_4_4_4 is not set
   228 # CT_CC_V_4_4_3 is not set
   229 # CT_CC_V_4_4_2 is not set
   230 # CT_CC_V_4_4_1 is not set
   231 # CT_CC_V_4_4_0 is not set
   232 # CT_CC_V_4_3_6 is not set
   233 # CT_CC_V_4_3_5 is not set
   234 # CT_CC_V_4_3_4 is not set
   235 # CT_CC_V_4_3_3 is not set
   236 # CT_CC_V_4_3_2 is not set
   237 # CT_CC_V_4_3_1 is not set
   238 # CT_CC_V_4_2_4 is not set
   239 # CT_CC_V_4_2_2 is not set
   240 CT_CC_GCC_4_2_or_later=y
   241 CT_CC_GCC_4_3_or_later=y
   242 CT_CC_GCC_4_4=y
   243 CT_CC_GCC_4_4_or_later=y
   244 CT_CC_GCC_HAS_GRAPHITE=y
   245 CT_CC_GCC_HAS_PKGVERSION_BUGURL=y
   246 CT_CC_GCC_USE_GMP_MPFR=y
   247 CT_CC_GCC_USE_PPL_CLOOG=y
   248 CT_CC_SUPPORT_CXX=y
   249 CT_CC_SUPPORT_FORTRAN=y
   250 CT_CC_SUPPORT_JAVA=y
   251 CT_CC_SUPPORT_ADA=y
   252 CT_CC_SUPPORT_OBJC=y
   253 CT_CC_SUPPORT_OBJCXX=y
   254 
   255 #
   256 # Additional supported languages:
   257 #
   258 # CT_CC_LANG_CXX is not set
   259 
   260 #
   261 # gcc other options
   262 #
   263 CT_CC_ENABLE_CXX_FLAGS=""
   264 CT_CC_CORE_EXTRA_CONFIG_ARRAY=""
   265 CT_CC_STATIC_LIBSTDCXX=y
   266 
   267 #
   268 # Optimisation features
   269 #
   270 CT_CC_GCC_USE_GRAPHITE=y
   271 
   272 #
   273 # Settings for libraries running on target
   274 #
   275 # CT_CC_GCC_ENABLE_TARGET_OPTSPACE is not set
   276 # CT_CC_GCC_LIBMUDFLAP is not set
   277 # CT_CC_GCC_LIBGOMP is not set
   278 # CT_CC_GCC_LIBSSP is not set
   279 
   280 #
   281 # Misc. obscure options.
   282 #
   283 # CT_CC_GCC_DISABLE_PCH is not set
   284 CT_CC_GCC_LDBL_128=m
   285 CT_CC_GCC_HAS_ARCH_OPTIONS=y
   286 
   287 #
   288 # archictecture-specific options
   289 #
   290 CT_CC_GCC_mips_llsc=m
   291 CT_CC_GCC_mips_synci=m
   292 # CT_CC_GCC_mips_plt is not set
   293 
   294 #
   295 # C-library
   296 #
   297 CT_LIBC="none"
   298 # CT_LIBC_newlib is not set
   299 CT_LIBC_none=y
   300 CT_LIBC_eglibc_AVAILABLE=y
   301 CT_LIBC_glibc_AVAILABLE=y
   302 CT_LIBC_mingw_AVAILABLE=y
   303 CT_LIBC_newlib_AVAILABLE=y
   304 CT_LIBC_none_AVAILABLE=y
   305 CT_LIBC_uClibc_AVAILABLE=y
   306 CT_THREADS="none"
   307 
   308 #
   309 # Debug facilities
   310 #
   311 # CT_DEBUG_dmalloc is not set
   312 # CT_DEBUG_duma is not set
   313 CT_DEBUG_gdb=y
   314 CT_GDB_CROSS=y
   315 # CT_GDB_CROSS_STATIC is not set
   316 CT_GDB_CROSS_PYTHON=y
   317 
   318 #
   319 # In bare-metal, you'll need to   
   320 #
   321 
   322 #
   323 # provide your own gdbserver stub.
   324 #
   325 
   326 #
   327 # gdb version
   328 #
   329 CT_GDB_V_6_8a=y
   330 CT_GDB_VERSION="6.8a"
   331 # CT_DEBUG_ltrace is not set
   332 # CT_DEBUG_strace is not set
   333 
   334 #
   335 # Companion libraries
   336 #
   337 CT_COMPLIBS_NEEDED=y
   338 CT_GMP_NEEDED=y
   339 CT_MPFR_NEEDED=y
   340 CT_PPL_NEEDED=y
   341 CT_CLOOG_NEEDED=y
   342 CT_COMPLIBS=y
   343 CT_GMP=y
   344 CT_MPFR=y
   345 CT_PPL=y
   346 CT_CLOOG=y
   347 CT_GMP_V_4_3_2=y
   348 # CT_GMP_V_4_3_1 is not set
   349 # CT_GMP_V_4_3_0 is not set
   350 CT_GMP_VERSION="4.3.2"
   351 # CT_MPFR_V_3_0_0 is not set
   352 CT_MPFR_V_2_4_2=y
   353 # CT_MPFR_V_2_4_1 is not set
   354 # CT_MPFR_V_2_4_0 is not set
   355 CT_MPFR_VERSION="2.4.2"
   356 CT_PPL_V_0_10_2=y
   357 CT_PPL_VERSION="0.10.2"
   358 CT_CLOOG_V_0_15_10=y
   359 # CT_CLOOG_V_0_15_9 is not set
   360 # CT_CLOOG_V_0_15_8 is not set
   361 # CT_CLOOG_V_0_15_7 is not set
   362 # CT_CLOOG_V_0_15_6 is not set
   363 CT_CLOOG_VERSION="0.15.10"
   364 
   365 #
   366 # Companion libraries common options
   367 #
   368 # CT_COMPLIBS_CHECK is not set