samples/mips-unknown-elf/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 1086 dadcb6221683
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:55:40 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 is not set
    37 CT_CONNECT_TIMEOUT=10
    38 # CT_ONLY_DOWNLOAD is not set
    39 
    40 #
    41 # Extracting
    42 #
    43 # CT_FORCE_EXTRACT is not set
    44 CT_OVERIDE_CONFIG_GUESS_SUB=y
    45 # CT_ONLY_EXTRACT is not set
    46 
    47 #
    48 # Build behavior
    49 #
    50 CT_PARALLEL_JOBS=1
    51 CT_LOAD=0
    52 CT_NICE=0
    53 CT_USE_PIPES=y
    54 # CT_CONFIG_SHELL_ASH is not set
    55 
    56 #
    57 # Logging
    58 #
    59 # CT_LOG_ERROR is not set
    60 # CT_LOG_WARN is not set
    61 # CT_LOG_INFO is not set
    62 CT_LOG_EXTRA=y
    63 # CT_LOG_DEBUG is not set
    64 # CT_LOG_ALL is not set
    65 CT_LOG_LEVEL_MAX="EXTRA"
    66 # CT_LOG_SEE_TOOLS_WARN is not set
    67 CT_LOG_PROGRESS_BAR=y
    68 CT_LOG_TO_FILE=y
    69 CT_LOG_FILE_COMPRESS=y
    70 
    71 #
    72 # Target options
    73 #
    74 CT_ARCH="mips"
    75 # CT_ARCH_64 is not set
    76 CT_ARCH_SUPPORT_ARCH=y
    77 CT_ARCH_SUPPORT_ABI=y
    78 # CT_ARCH_SUPPORT_CPU is not set
    79 CT_ARCH_SUPPORT_TUNE=y
    80 # CT_ARCH_SUPPORT_FPU is not set
    81 CT_ARCH_SUPPORTS_BOTH_ENDIAN=y
    82 CT_ARCH_DEFAULT_BE=y
    83 # CT_ARCH_DEFAULT_LE is not set
    84 CT_ARCH_ARCH=""
    85 CT_ARCH_ABI=""
    86 CT_ARCH_TUNE=""
    87 CT_ARCH_BE=y
    88 # CT_ARCH_LE is not set
    89 # CT_ARCH_FLOAT_HW is not set
    90 CT_ARCH_FLOAT_SW=y
    91 CT_TARGET_CFLAGS=""
    92 CT_TARGET_LDFLAGS=""
    93 
    94 #
    95 # General target options
    96 #
    97 # CT_ARCH_alpha is not set
    98 # CT_ARCH_arm is not set
    99 # CT_ARCH_ia64 is not set
   100 CT_ARCH_mips=y
   101 # CT_ARCH_powerpc is not set
   102 # CT_ARCH_sh is not set
   103 # CT_ARCH_x86 is not set
   104 # CT_ARCH_x86_64 is not set
   105 
   106 #
   107 # Target optimisations
   108 #
   109 
   110 #
   111 # Toolchain options
   112 #
   113 
   114 #
   115 # General toolchain options
   116 #
   117 CT_USE_SYSROOT=y
   118 CT_TARGET_VENDOR="unknown"
   119 CT_TARGET_ALIAS_SED_EXPR=""
   120 CT_TARGET_ALIAS=""
   121 
   122 #
   123 # Toolchain type
   124 #
   125 # CT_NATIVE is not set
   126 CT_CROSS=y
   127 # CT_CROSS_NATIVE is not set
   128 # CT_CANADIAN is not set
   129 CT_TOOLCHAIN_TYPE="cross"
   130 
   131 #
   132 # Build system
   133 #
   134 CT_BUILD=""
   135 CT_BUILD_PREFIX=""
   136 CT_BUILD_SUFFIX=""
   137 
   138 #
   139 # Operating System
   140 #
   141 CT_BARE_METAL=y
   142 CT_KERNEL="bare-metal"
   143 CT_KERNEL_bare_metal=y
   144 # CT_KERNEL_linux is not set
   145 
   146 #
   147 # GMP and MPFR
   148 #
   149 CT_GMP_MPFR=y
   150 # CT_GMP_V_4_2_2 is not set
   151 CT_GMP_V_4_2_4=y
   152 CT_GMP_VERSION="4.2.4"
   153 CT_GMP_CHECK=y
   154 # CT_MPFR_V_2_3_1 is not set
   155 CT_MPFR_V_2_3_2=y
   156 CT_MPFR_VERSION="2.3.2"
   157 CT_MPFR_CHECK=y
   158 
   159 #
   160 # binutils
   161 #
   162 CT_BINUTILS_VERSION="2.19"
   163 # CT_BINUTILS_V_2_14 is not set
   164 # CT_BINUTILS_V_2_15 is not set
   165 # CT_BINUTILS_V_2_16_1 is not set
   166 # CT_BINUTILS_V_2_17 is not set
   167 # CT_BINUTILS_V_2_18 is not set
   168 # CT_BINUTILS_V_2_18_50_0_4 is not set
   169 # CT_BINUTILS_V_2_18_50_0_6 is not set
   170 # CT_BINUTILS_V_2_18_50_0_7 is not set
   171 # CT_BINUTILS_V_2_18_50_0_8 is not set
   172 # CT_BINUTILS_V_2_18_50_0_9 is not set
   173 # CT_BINUTILS_V_2_18_90 is not set
   174 # CT_BINUTILS_V_2_18_91 is not set
   175 # CT_BINUTILS_V_2_18_92 is not set
   176 # CT_BINUTILS_V_2_18_93 is not set
   177 CT_BINUTILS_V_2_19=y
   178 # CT_BINUTILS_V_2_19_50_0_1 is not set
   179 CT_BINUTILS_EXTRA_CONFIG=""
   180 
   181 #
   182 # C compiler
   183 #
   184 CT_CC="gcc"
   185 CT_CC_VERSION="4.3.2"
   186 CT_CC_gcc=y
   187 # CT_CC_V_3_2_3 is not set
   188 # CT_CC_V_3_3_6 is not set
   189 # CT_CC_V_3_4_6 is not set
   190 # CT_CC_V_4_0_0 is not set
   191 # CT_CC_V_4_0_1 is not set
   192 # CT_CC_V_4_0_2 is not set
   193 # CT_CC_V_4_0_3 is not set
   194 # CT_CC_V_4_0_4 is not set
   195 # CT_CC_V_4_1_0 is not set
   196 # CT_CC_V_4_1_1 is not set
   197 # CT_CC_V_4_1_2 is not set
   198 # CT_CC_V_4_2_0 is not set
   199 # CT_CC_V_4_2_1 is not set
   200 # CT_CC_V_4_2_2 is not set
   201 # CT_CC_V_4_2_3 is not set
   202 # CT_CC_V_4_2_4 is not set
   203 # CT_CC_V_4_3_0 is not set
   204 # CT_CC_V_4_3_1 is not set
   205 CT_CC_V_4_3_2=y
   206 CT_CC_GCC_4_3_or_later=y
   207 CT_CC_CORE_EXTRA_CONFIG=""
   208 CT_CC_PKGVERSION="crosstool-NG-${CT_VERSION}"
   209 CT_CC_BUGURL=""
   210 CT_CC_SUPPORT_CXX=y
   211 CT_CC_SUPPORT_FORTRAN=y
   212 CT_CC_SUPPORT_JAVA=y
   213 CT_CC_SUPPORT_ADA=y
   214 CT_CC_SUPPORT_OBJC=y
   215 CT_CC_SUPPORT_OBJCXX=y
   216 
   217 #
   218 # Additional supported languages:
   219 #
   220 # CT_CC_LANG_CXX is not set
   221 CT_LIBC="none"
   222 
   223 #
   224 # Tools facilities
   225 #
   226 # CT_TOOL_libelf is not set
   227 # CT_TOOL_sstrip is not set
   228 
   229 #
   230 # Debug facilities
   231 #
   232 # CT_DEBUG_dmalloc is not set
   233 # CT_DEBUG_duma is not set
   234 CT_DEBUG_gdb=y
   235 CT_GDB_CROSS=y
   236 # CT_GDB_CROSS_STATIC is not set
   237 # CT_GDB_V_6_4 is not set
   238 # CT_GDB_V_6_5 is not set
   239 # CT_GDB_V_6_6 is not set
   240 # CT_GDB_V_6_7 is not set
   241 # CT_GDB_V_6_7_1 is not set
   242 CT_GDB_V_6_8=y
   243 # CT_GDB_V_snapshot is not set
   244 CT_GDB_VERSION="6.8"
   245 # CT_DEBUG_ltrace is not set
   246 # CT_DEBUG_strace is not set