samples/mips64el-n32-linux-uclibc/crosstool.config
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Sep 12 23:38:18 2010 +0200 (2010-09-12)
changeset 2120 48de021b3a9e
child 2140 bf9fa67629cd
permissions -rw-r--r--
arch/mips: add experimental mips64 samples

Both toolchains were tested to successfully:
- _build_ busybox, giving respectively an n32 and an n64 binary
although it has not been run-tested.
- build linux-2.6.36-rc3 for Loongson, giving an n64 vmlinux
(which is expected, due to the way the kernel is built),
and the kernel properly boots!

Credits are due to Julien MOUTHINO (julm on freenode#uClibc) for
testing that the kernel boots on his hardware! Cheers! ;-)

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
     1 #
     2 # Automatically generated make config: don't edit
     3 # crosstool-NG version: hg_default@2120_d184e204c479
     4 # Sun Sep 12 22:11:01 2010
     5 #
     6 # CT_BACKEND is not set
     7 CT_MODULES=y
     8 
     9 #
    10 # Paths and misc options
    11 #
    12 
    13 #
    14 # crosstool-NG behavior
    15 #
    16 # CT_OBSOLETE is not set
    17 CT_EXPERIMENTAL=y
    18 # CT_DEBUG_CT is not set
    19 
    20 #
    21 # Paths
    22 #
    23 CT_LOCAL_TARBALLS_DIR="${HOME}/src"
    24 CT_SAVE_TARBALLS=y
    25 CT_WORK_DIR="${CT_TOP_DIR}/targets"
    26 CT_PREFIX_DIR="${HOME}/x-tools/${CT_TARGET}"
    27 CT_INSTALL_DIR="${CT_PREFIX_DIR}"
    28 CT_REMOVE_DOCS=y
    29 CT_INSTALL_DIR_RO=y
    30 CT_STRIP_ALL_TOOLCHAIN_EXECUTABLES=y
    31 
    32 #
    33 # Downloading
    34 #
    35 # CT_FORBID_DOWNLOAD is not set
    36 # CT_FORCE_DOWNLOAD is not set
    37 CT_USE_MIRROR=y
    38 # CT_PREFER_MIRROR is not set
    39 CT_MIRROR_BASE_URL="http://ymorin.is-a-geek.org/mirrors/"
    40 CT_CONNECT_TIMEOUT=10
    41 CT_DOWNLOAD_MAX_CHUNKS=5
    42 # CT_ONLY_DOWNLOAD 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 # CT_PATCH_SINGLE is not set
    59 # CT_PATCH_USE_LOCAL is not set
    60 
    61 #
    62 # Build behavior
    63 #
    64 CT_PARALLEL_JOBS=1
    65 CT_LOAD=0
    66 CT_USE_PIPES=y
    67 # CT_CONFIG_SHELL_SH is not set
    68 # CT_CONFIG_SHELL_ASH is not set
    69 CT_CONFIG_SHELL_BASH=y
    70 # CT_CONFIG_SHELL_CUSTOM is not set
    71 CT_CONFIG_SHELL="bash"
    72 
    73 #
    74 # Logging
    75 #
    76 # CT_LOG_ERROR is not set
    77 # CT_LOG_WARN is not set
    78 # CT_LOG_INFO is not set
    79 CT_LOG_EXTRA=y
    80 # CT_LOG_ALL is not set
    81 # CT_LOG_DEBUG is not set
    82 CT_LOG_LEVEL_MAX="EXTRA"
    83 # CT_LOG_SEE_TOOLS_WARN is not set
    84 CT_LOG_PROGRESS_BAR=y
    85 CT_LOG_TO_FILE=y
    86 CT_LOG_FILE_COMPRESS=y
    87 
    88 #
    89 # Target options
    90 #
    91 CT_ARCH="mips"
    92 # CT_ARCH_SUPPORTS_BOTH_MMU is not set
    93 CT_ARCH_SUPPORTS_BOTH_ENDIAN=y
    94 CT_ARCH_SUPPORTS_32=y
    95 CT_ARCH_SUPPORTS_64=y
    96 CT_ARCH_SUPPORT_ARCH=y
    97 # CT_ARCH_SUPPORT_ABI is not set
    98 # CT_ARCH_SUPPORT_CPU is not set
    99 CT_ARCH_SUPPORT_TUNE=y
   100 # CT_ARCH_SUPPORT_FPU is not set
   101 # CT_ARCH_DEFAULT_HAS_MMU is not set
   102 CT_ARCH_DEFAULT_BE=y
   103 # CT_ARCH_DEFAULT_LE is not set
   104 CT_ARCH_DEFAULT_32=y
   105 # CT_ARCH_DEFAULT_64 is not set
   106 CT_ARCH_ARCH=""
   107 CT_ARCH_TUNE=""
   108 # CT_ARCH_BE is not set
   109 CT_ARCH_LE=y
   110 # CT_ARCH_32 is not set
   111 CT_ARCH_64=y
   112 CT_ARCH_BITNESS=64
   113 # CT_ARCH_FLOAT_HW is not set
   114 CT_ARCH_FLOAT_SW=y
   115 CT_TARGET_CFLAGS=""
   116 CT_TARGET_LDFLAGS=""
   117 
   118 #
   119 # General target options
   120 #
   121 # CT_ARCH_alpha is not set
   122 # CT_ARCH_arm is not set
   123 # CT_ARCH_avr32 is not set
   124 # CT_ARCH_blackfin is not set
   125 # CT_ARCH_ia64 is not set
   126 # CT_ARCH_m68k is not set
   127 CT_ARCH_mips=y
   128 # CT_ARCH_powerpc is not set
   129 # CT_ARCH_s390 is not set
   130 # CT_ARCH_sh is not set
   131 # CT_ARCH_x86 is not set
   132 CT_ARCH_alpha_AVAILABLE=y
   133 CT_ARCH_arm_AVAILABLE=y
   134 CT_ARCH_avr32_AVAILABLE=y
   135 CT_ARCH_blackfin_AVAILABLE=y
   136 CT_ARCH_ia64_AVAILABLE=y
   137 CT_ARCH_m68k_AVAILABLE=y
   138 CT_ARCH_mips_AVAILABLE=y
   139 CT_ARCH_powerpc_AVAILABLE=y
   140 CT_ARCH_s390_AVAILABLE=y
   141 CT_ARCH_sh_AVAILABLE=y
   142 CT_ARCH_x86_AVAILABLE=y
   143 CT_ARCH_USE_MMU=y
   144 
   145 #
   146 # mips other options
   147 #
   148 # CT_ARCH_mips_o32 is not set
   149 CT_ARCH_mips_n32=y
   150 # CT_ARCH_mips_n64 is not set
   151 CT_ARCH_mips_ABI="n32"
   152 
   153 #
   154 # Target optimisations
   155 #
   156 
   157 #
   158 # Toolchain options
   159 #
   160 
   161 #
   162 # General toolchain options
   163 #
   164 CT_USE_SYSROOT=y
   165 CT_SYSROOT_DIR_PREFIX=""
   166 
   167 #
   168 # Tuple completion and aliasing
   169 #
   170 CT_TARGET_VENDOR="n32"
   171 CT_TARGET_ALIAS_SED_EXPR=""
   172 CT_TARGET_ALIAS=""
   173 
   174 #
   175 # Toolchain type
   176 #
   177 # CT_NATIVE is not set
   178 CT_CROSS=y
   179 # CT_CROSS_NATIVE is not set
   180 # CT_CANADIAN is not set
   181 CT_TOOLCHAIN_TYPE="cross"
   182 
   183 #
   184 # Build system
   185 #
   186 CT_BUILD=""
   187 CT_BUILD_PREFIX=""
   188 CT_BUILD_SUFFIX=""
   189 
   190 #
   191 # Operating System
   192 #
   193 # CT_BARE_METAL is not set
   194 # CT_MINGW32 is not set
   195 CT_KERNEL_SUPPORTS_SHARED_LIBS=y
   196 CT_KERNEL="linux"
   197 CT_KERNEL_VERSION="2.6.31.14"
   198 # CT_KERNEL_bare_metal is not set
   199 CT_KERNEL_linux=y
   200 # CT_KERNEL_mingw32 is not set
   201 CT_KERNEL_bare_metal_AVAILABLE=y
   202 CT_KERNEL_linux_AVAILABLE=y
   203 CT_KERNEL_LINUX_INSTALL=y
   204 # CT_KERNEL_V_2_6_35_4 is not set
   205 # CT_KERNEL_V_2_6_35_3 is not set
   206 # CT_KERNEL_V_2_6_35_2 is not set
   207 # CT_KERNEL_V_2_6_35_1 is not set
   208 # CT_KERNEL_V_2_6_35 is not set
   209 # CT_KERNEL_V_2_6_34_6 is not set
   210 # CT_KERNEL_V_2_6_33_7 is not set
   211 # CT_KERNEL_V_2_6_32_21 is not set
   212 CT_KERNEL_V_2_6_31_14=y
   213 # CT_KERNEL_V_2_6_27_53 is not set
   214 # CT_KERNEL_LINUX_CUSTOM is not set
   215 CT_KERNEL_LINUX_VERBOSITY_0=y
   216 # CT_KERNEL_LINUX_VERBOSITY_1 is not set
   217 # CT_KERNEL_LINUX_VERBOSITY_2 is not set
   218 CT_KERNEL_LINUX_VERBOSE_LEVEL=0
   219 CT_KERNEL_LINUX_INSTALL_CHECK=y
   220 # CT_KERNEL_LINUX_USE_CUSTOM_HEADERS is not set
   221 CT_KERNEL_mingw32_AVAILABLE=y
   222 
   223 #
   224 # Common kernel options
   225 #
   226 CT_SHARED_LIBS=y
   227 
   228 #
   229 # Binary utilities
   230 #
   231 CT_ARCH_BINFMT_ELF=y
   232 # CT_ARCH_BINFMT_FLAT is not set
   233 # CT_ARCH_BINFMT_FDPIC is not set
   234 
   235 #
   236 # GNU binutils
   237 #
   238 # CT_BINUTILS_V_2_20_1 is not set
   239 # CT_BINUTILS_V_2_20 is not set
   240 CT_BINUTILS_V_2_19_1=y
   241 # CT_BINUTILS_V_2_19 is not set
   242 # CT_BINUTILS_V_2_18 is not set
   243 # CT_BINUTILS_V_2_17 is not set
   244 # CT_BINUTILS_V_2_16_1 is not set
   245 CT_BINUTILS_VERSION="2.19.1"
   246 CT_BINUTILS_EXTRA_CONFIG=""
   247 # CT_BINUTILS_FOR_TARGET is not set
   248 
   249 #
   250 # C compiler
   251 #
   252 CT_CC="gcc"
   253 CT_CC_VERSION="4.3.2"
   254 CT_CC_gcc=y
   255 # CT_CC_V_4_5_1 is not set
   256 # CT_CC_V_4_5_0 is not set
   257 # CT_CC_V_4_4_4 is not set
   258 # CT_CC_V_4_4_3 is not set
   259 # CT_CC_V_4_4_2 is not set
   260 # CT_CC_V_4_4_1 is not set
   261 # CT_CC_V_4_4_0 is not set
   262 # CT_CC_V_4_3_4 is not set
   263 # CT_CC_V_4_3_3 is not set
   264 CT_CC_V_4_3_2=y
   265 # CT_CC_V_4_3_1 is not set
   266 # CT_CC_V_4_2_4 is not set
   267 # CT_CC_V_4_2_3 is not set
   268 # CT_CC_V_4_2_2 is not set
   269 # CT_CC_V_4_2_1 is not set
   270 # CT_CC_V_4_2_0 is not set
   271 # CT_CC_V_4_1_2 is not set
   272 # CT_CC_V_4_0_4 is not set
   273 # CT_CC_V_3_4_6 is not set
   274 CT_CC_GCC_4_2_or_later=y
   275 CT_CC_GCC_4_3_or_later=y
   276 # CT_CC_GCC_4_4_or_later is not set
   277 # CT_CC_GCC_4_5_or_later is not set
   278 CT_CC_GCC_USE_GMP_MPFR=y
   279 # CT_CC_GCC_USE_PPL_CLOOG is not set
   280 # CT_CC_GCC_USE_MPC_LIBELF is not set
   281 CT_CC_PKGVERSION="crosstool-NG-${CT_VERSION}"
   282 CT_CC_BUGURL=""
   283 CT_CC_ENABLE_CXX_FLAGS=""
   284 CT_CC_CORE_EXTRA_CONFIG=""
   285 CT_CC_EXTRA_CONFIG=""
   286 CT_CC_SUPPORT_CXX=y
   287 CT_CC_SUPPORT_FORTRAN=y
   288 CT_CC_SUPPORT_JAVA=y
   289 CT_CC_SUPPORT_ADA=y
   290 CT_CC_SUPPORT_OBJC=y
   291 CT_CC_SUPPORT_OBJCXX=y
   292 
   293 #
   294 # Additional supported languages:
   295 #
   296 CT_CC_LANG_CXX=y
   297 # CT_CC_LANG_FORTRAN is not set
   298 # CT_CC_LANG_JAVA is not set
   299 # CT_CC_LANG_ADA is not set
   300 # CT_CC_LANG_OBJC is not set
   301 # CT_CC_LANG_OBJCXX is not set
   302 CT_CC_LANG_OTHERS=""
   303 
   304 #
   305 # gcc other options
   306 #
   307 CT_CC_GCC_ENABLE_TARGET_OPTSPACE=y
   308 
   309 #
   310 # Misc. obscure options.
   311 #
   312 CT_CC_CXA_ATEXIT=y
   313 # CT_CC_GCC_DISABLE_PCH is not set
   314 CT_CC_GCC_SJLJ_EXCEPTIONS=m
   315 # CT_CC_GCC_LIBMUDFLAP is not set
   316 
   317 #
   318 # C-library
   319 #
   320 CT_LIBC="uClibc"
   321 CT_LIBC_VERSION="0.9.30.1"
   322 # CT_LIBC_eglibc is not set
   323 # CT_LIBC_glibc is not set
   324 # CT_LIBC_mingw is not set
   325 # CT_LIBC_newlib is not set
   326 # CT_LIBC_none is not set
   327 CT_LIBC_uClibc=y
   328 CT_LIBC_eglibc_AVAILABLE=y
   329 CT_LIBC_glibc_AVAILABLE=y
   330 CT_LIBC_mingw_AVAILABLE=y
   331 CT_LIBC_newlib_AVAILABLE=y
   332 CT_LIBC_none_AVAILABLE=y
   333 CT_LIBC_uClibc_AVAILABLE=y
   334 # CT_LIBC_UCLIBC_V_0_9_31 is not set
   335 # CT_LIBC_UCLIBC_V_0_9_30_3 is not set
   336 # CT_LIBC_UCLIBC_V_0_9_30_2 is not set
   337 CT_LIBC_V_0_9_30_1=y
   338 # CT_LIBC_V_0_9_30 is not set
   339 # CT_LIBC_V_0_9_29 is not set
   340 # CT_LIBC_V_0_9_28_3 is not set
   341 # CT_LIBC_V_snapshot is not set
   342 # CT_LIBC_V_specific_date is not set
   343 CT_LIBC_UCLIBC_0_9_30_or_later=y
   344 CT_LIBC_UCLIBC_PARALLEL=y
   345 CT_LIBC_UCLIBC_VERBOSITY_0=y
   346 # CT_LIBC_UCLIBC_VERBOSITY_1 is not set
   347 # CT_LIBC_UCLIBC_VERBOSITY_2 is not set
   348 CT_LIBC_UCLIBC_VERBOSITY=""
   349 CT_LIBC_UCLIBC_DEBUG_LEVEL_0=y
   350 # CT_LIBC_UCLIBC_DEBUG_LEVEL_1 is not set
   351 # CT_LIBC_UCLIBC_DEBUG_LEVEL_2 is not set
   352 CT_LIBC_UCLIBC_DEBUG_LEVEL=0
   353 CT_LIBC_UCLIBC_CONFIG_FILE="${CT_LIB_DIR}/samples/${CT_TARGET}/${CT_LIBC}-${CT_LIBC_VERSION}.config"
   354 CT_LIBC_SUPPORT_THREADS_ANY=y
   355 # CT_LIBC_SUPPORT_NPTL is not set
   356 CT_LIBC_SUPPORT_LINUXTHREADS=y
   357 # CT_LIBC_SUPPORT_WIN32THREADS is not set
   358 CT_THREADS="linuxthreads"
   359 
   360 #
   361 # Common C library options
   362 #
   363 # CT_THREADS_NPTL is not set
   364 CT_THREADS_LINUXTHREADS=y
   365 # CT_THREADS_WIN32THREADS is not set
   366 # CT_THREADS_NONE is not set
   367 CT_LIBC_XLDD=y
   368 
   369 #
   370 # uClibc other options
   371 #
   372 CT_LIBC_UCLIBC_LNXTHRD_OLD=y
   373 # CT_LIBC_UCLIBC_LNXTHRD_NEW is not set
   374 CT_LIBC_UCLIBC_LNXTHRD="old"
   375 # CT_LIBC_UCLIBC_LOCALES is not set
   376 # CT_LIBC_UCLIBC_WCHAR is not set
   377 
   378 #
   379 # Debug facilities
   380 #
   381 # CT_DEBUG_dmalloc is not set
   382 # CT_DEBUG_duma is not set
   383 # CT_DEBUG_gdb is not set
   384 # CT_DEBUG_ltrace is not set
   385 # CT_DEBUG_strace is not set
   386 
   387 #
   388 # Companion libraries
   389 #
   390 
   391 #
   392 # FIXME: check real dependencies!!!
   393 #
   394 CT_COMPLIBS=y
   395 # CT_WRAPPER_NEEDED is not set
   396 CT_GMP=y
   397 CT_MPFR=y
   398 # CT_GMP_V_5_0_1 is not set
   399 CT_GMP_V_4_3_2=y
   400 # CT_GMP_V_4_3_1 is not set
   401 # CT_GMP_V_4_3_0 is not set
   402 # CT_GMP_V_4_2_4 is not set
   403 # CT_GMP_V_4_2_2 is not set
   404 CT_GMP_VERSION="4.3.2"
   405 # CT_MPFR_V_3_0_0 is not set
   406 CT_MPFR_V_2_4_2=y
   407 # CT_MPFR_V_2_4_1 is not set
   408 # CT_MPFR_V_2_4_0 is not set
   409 # CT_MPFR_V_2_3_2 is not set
   410 # CT_MPFR_V_2_3_1 is not set
   411 CT_MPFR_VERSION="2.4.2"
   412 
   413 #
   414 # Companion libraries common options
   415 #
   416 # CT_COMPLIBS_CHECK is not set
   417 # CT_COMPLIBS_SHARED is not set
   418 
   419 #
   420 # Companion tools
   421 #
   422 
   423 #
   424 # READ HELP before you say 'Y' below !!!
   425 #
   426 # CT_COMP_TOOLS is not set
   427 
   428 #
   429 # Test suite
   430 #
   431 # CT_TEST_SUITE is not set
   432 # CT_TEST_SUITE_GCC is not set