samples/sh4-unknown-linux-gnu/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 1233 f5c55a3e72af
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(-)
yann@962
     1
#
yann@962
     2
# Automatically generated make config: don't edit
yann@1240
     3
# crosstool-NG version: svn_trunk@1407
yann@1240
     4
# Fri Mar  6 19:58:32 2009
yann@962
     5
#
yann@962
     6
yann@962
     7
#
yann@962
     8
# Paths and misc options
yann@962
     9
#
yann@962
    10
yann@962
    11
#
yann@962
    12
# crosstool-NG behavior
yann@962
    13
#
yann@962
    14
# CT_OBSOLETE is not set
yann@962
    15
CT_EXPERIMENTAL=y
yann@997
    16
# CT_DEBUG_CT is not set
yann@962
    17
yann@962
    18
#
yann@962
    19
# Paths
yann@962
    20
#
yann@962
    21
CT_LOCAL_TARBALLS_DIR="${HOME}/src"
yann@962
    22
CT_SAVE_TARBALLS=y
yann@962
    23
CT_WORK_DIR="${CT_TOP_DIR}/targets"
yann@962
    24
CT_PREFIX_DIR="${HOME}/x-tools/${CT_TARGET}"
yann@962
    25
CT_INSTALL_DIR="${CT_PREFIX_DIR}"
yann@962
    26
# CT_CUSTOM_PATCH is not set
yann@962
    27
CT_REMOVE_DOCS=y
yann@962
    28
CT_INSTALL_DIR_RO=y
yann@962
    29
yann@962
    30
#
yann@962
    31
# Downloading
yann@962
    32
#
yann@1233
    33
# CT_FORBID_DOWNLOAD is not set
yann@962
    34
# CT_FORCE_DOWNLOAD is not set
yann@962
    35
# CT_USE_PROXY is not set
yann@962
    36
CT_PROXY_TYPE="none"
yann@1022
    37
CT_USE_MIRROR=y
yann@1022
    38
# CT_PREFER_MIRROR is not set
yann@1022
    39
CT_MIRROR_HTTP=y
yann@1022
    40
# CT_MIRROR_FTP is not set
yann@1022
    41
CT_MIRROR_SCHEME="http"
yann@1022
    42
CT_MIRROR_HOSTNAME="ymorin.is-a-geek.org"
yann@1022
    43
CT_MIRROR_BASE="/mirrors"
yann@1061
    44
# CT_MIRROR_LS_R is not set
yann@962
    45
CT_CONNECT_TIMEOUT=10
yann@962
    46
# CT_ONLY_DOWNLOAD is not set
yann@962
    47
yann@962
    48
#
yann@962
    49
# Extracting
yann@962
    50
#
yann@962
    51
# CT_FORCE_EXTRACT is not set
yann@962
    52
CT_OVERIDE_CONFIG_GUESS_SUB=y
yann@962
    53
# CT_ONLY_EXTRACT is not set
yann@962
    54
yann@962
    55
#
yann@962
    56
# Build behavior
yann@962
    57
#
yann@962
    58
CT_PARALLEL_JOBS=1
yann@962
    59
CT_LOAD=0
yann@962
    60
CT_NICE=0
yann@962
    61
CT_USE_PIPES=y
yann@962
    62
# CT_CONFIG_SHELL_ASH is not set
yann@962
    63
yann@962
    64
#
yann@962
    65
# Logging
yann@962
    66
#
yann@962
    67
# CT_LOG_ERROR is not set
yann@962
    68
# CT_LOG_WARN is not set
yann@962
    69
# CT_LOG_INFO is not set
yann@962
    70
CT_LOG_EXTRA=y
yann@962
    71
# CT_LOG_DEBUG is not set
yann@962
    72
# CT_LOG_ALL is not set
yann@962
    73
CT_LOG_LEVEL_MAX="EXTRA"
yann@962
    74
# CT_LOG_SEE_TOOLS_WARN is not set
yann@962
    75
CT_LOG_PROGRESS_BAR=y
yann@962
    76
CT_LOG_TO_FILE=y
yann@962
    77
CT_LOG_FILE_COMPRESS=y
yann@962
    78
yann@962
    79
#
yann@962
    80
# Target options
yann@962
    81
#
yann@962
    82
CT_ARCH="sh"
yann@1061
    83
# CT_ARCH_64 is not set
yann@962
    84
# CT_ARCH_SUPPORT_ARCH is not set
yann@962
    85
# CT_ARCH_SUPPORT_ABI is not set
yann@962
    86
# CT_ARCH_SUPPORT_CPU is not set
yann@962
    87
# CT_ARCH_SUPPORT_TUNE is not set
yann@962
    88
# CT_ARCH_SUPPORT_FPU is not set
yann@962
    89
CT_ARCH_SUPPORTS_BOTH_ENDIAN=y
yann@962
    90
# CT_ARCH_DEFAULT_BE is not set
yann@962
    91
CT_ARCH_DEFAULT_LE=y
yann@962
    92
# CT_ARCH_BE is not set
yann@962
    93
CT_ARCH_LE=y
yann@962
    94
CT_ARCH_FLOAT_HW=y
yann@962
    95
# CT_ARCH_FLOAT_SW is not set
yann@962
    96
CT_TARGET_CFLAGS=""
yann@962
    97
CT_TARGET_LDFLAGS=""
yann@962
    98
yann@962
    99
#
yann@962
   100
# General target options
yann@962
   101
#
yann@962
   102
# CT_ARCH_alpha is not set
yann@962
   103
# CT_ARCH_arm is not set
yann@962
   104
# CT_ARCH_ia64 is not set
yann@962
   105
# CT_ARCH_mips is not set
yann@962
   106
# CT_ARCH_powerpc is not set
yann@1233
   107
# CT_ARCH_powerpc64 is not set
yann@962
   108
CT_ARCH_sh=y
yann@1076
   109
# CT_ARCH_x86 is not set
yann@1061
   110
# CT_ARCH_x86_64 is not set
yann@962
   111
# CT_ARCH_SH_SH3 is not set
yann@962
   112
CT_ARCH_SH_SH4=y
yann@962
   113
# CT_ARCH_SH_SH4A is not set
yann@962
   114
CT_ARCH_SH_VARIANT="sh4"
yann@962
   115
yann@962
   116
#
yann@962
   117
# Target optimisations
yann@962
   118
#
yann@962
   119
yann@962
   120
#
yann@962
   121
# Toolchain options
yann@962
   122
#
yann@962
   123
yann@962
   124
#
yann@962
   125
# General toolchain options
yann@962
   126
#
yann@962
   127
CT_USE_SYSROOT=y
yann@1233
   128
CT_SYSROOT_DIR_PREFIX=""
yann@962
   129
CT_SHARED_LIBS=y
yann@1233
   130
yann@1233
   131
#
yann@1233
   132
# Tuple completion and aliasing
yann@1233
   133
#
yann@962
   134
CT_TARGET_VENDOR=""
yann@962
   135
CT_TARGET_ALIAS_SED_EXPR=""
yann@962
   136
CT_TARGET_ALIAS=""
yann@962
   137
yann@962
   138
#
yann@962
   139
# Toolchain type
yann@962
   140
#
yann@962
   141
# CT_NATIVE is not set
yann@962
   142
CT_CROSS=y
yann@962
   143
# CT_CROSS_NATIVE is not set
yann@962
   144
# CT_CANADIAN is not set
yann@962
   145
CT_TOOLCHAIN_TYPE="cross"
yann@1061
   146
yann@1061
   147
#
yann@1061
   148
# Build system
yann@1061
   149
#
yann@962
   150
CT_BUILD=""
yann@1061
   151
CT_BUILD_PREFIX=""
yann@1061
   152
CT_BUILD_SUFFIX=""
yann@962
   153
yann@962
   154
#
yann@962
   155
# Operating System
yann@962
   156
#
yann@962
   157
# CT_BARE_METAL is not set
yann@962
   158
CT_KERNEL="linux"
yann@1061
   159
CT_KERNEL_VERSION="2.6.26.8"
yann@962
   160
# CT_KERNEL_bare_metal is not set
yann@962
   161
CT_KERNEL_linux=y
yann@962
   162
CT_KERNEL_LINUX_INSTALL=y
yann@970
   163
CT_KERNEL_LINUX_INSTALL_CHECK=y
yann@962
   164
# CT_KERNEL_V_2_6_18_8 is not set
yann@962
   165
# CT_KERNEL_V_2_6_19_7 is not set
yann@962
   166
# CT_KERNEL_V_2_6_20_21 is not set
yann@962
   167
# CT_KERNEL_V_2_6_21_7 is not set
yann@962
   168
# CT_KERNEL_V_2_6_22_19 is not set
yann@962
   169
# CT_KERNEL_V_2_6_23_17 is not set
yann@962
   170
# CT_KERNEL_V_2_6_24_7 is not set
yann@1061
   171
# CT_KERNEL_V_2_6_25_20 is not set
yann@962
   172
# CT_KERNEL_V_2_6_26 is not set
yann@962
   173
# CT_KERNEL_V_2_6_26_1 is not set
yann@962
   174
# CT_KERNEL_V_2_6_26_2 is not set
yann@962
   175
# CT_KERNEL_V_2_6_26_3 is not set
yann@962
   176
# CT_KERNEL_V_2_6_26_4 is not set
yann@962
   177
# CT_KERNEL_V_2_6_26_5 is not set
yann@970
   178
# CT_KERNEL_V_2_6_26_6 is not set
yann@1061
   179
# CT_KERNEL_V_2_6_26_7 is not set
yann@1061
   180
CT_KERNEL_V_2_6_26_8=y
yann@962
   181
# CT_KERNEL_V_2_6_27 is not set
yann@962
   182
# CT_KERNEL_V_2_6_27_1 is not set
yann@962
   183
# CT_KERNEL_V_2_6_27_2 is not set
yann@970
   184
# CT_KERNEL_V_2_6_27_3 is not set
yann@1061
   185
# CT_KERNEL_V_2_6_27_4 is not set
yann@1061
   186
# CT_KERNEL_V_2_6_27_5 is not set
yann@1061
   187
# CT_KERNEL_V_2_6_27_6 is not set
yann@1130
   188
# CT_KERNEL_V_2_6_27_7 is not set
yann@1130
   189
# CT_KERNEL_V_2_6_27_8 is not set
yann@1130
   190
# CT_KERNEL_V_2_6_27_9 is not set
yann@1130
   191
# CT_KERNEL_V_2_6_27_10 is not set
yann@1233
   192
# CT_KERNEL_V_2_6_27_11 is not set
yann@1233
   193
# CT_KERNEL_V_2_6_27_12 is not set
yann@1233
   194
# CT_KERNEL_V_2_6_27_13 is not set
yann@1233
   195
# CT_KERNEL_V_2_6_27_14 is not set
yann@1233
   196
# CT_KERNEL_V_2_6_27_15 is not set
yann@1233
   197
# CT_KERNEL_V_2_6_27_16 is not set
yann@1233
   198
# CT_KERNEL_V_2_6_27_17 is not set
yann@1233
   199
# CT_KERNEL_V_2_6_27_18 is not set
yann@1233
   200
# CT_KERNEL_V_2_6_27_19 is not set
yann@1130
   201
# CT_KERNEL_V_2_6_28 is not set
yann@1233
   202
# CT_KERNEL_V_2_6_28_1 is not set
yann@1233
   203
# CT_KERNEL_V_2_6_28_2 is not set
yann@1233
   204
# CT_KERNEL_V_2_6_28_3 is not set
yann@1233
   205
# CT_KERNEL_V_2_6_28_4 is not set
yann@1233
   206
# CT_KERNEL_V_2_6_28_5 is not set
yann@1233
   207
# CT_KERNEL_V_2_6_28_6 is not set
yann@1233
   208
# CT_KERNEL_V_2_6_28_7 is not set
yann@962
   209
CT_KERNEL_LINUX_VERBOSITY_0=y
yann@962
   210
# CT_KERNEL_LINUX_VERBOSITY_1 is not set
yann@962
   211
# CT_KERNEL_LINUX_VERBOSITY_2 is not set
yann@962
   212
CT_KERNEL_LINUX_VERBOSE_LEVEL=0
yann@1233
   213
# CT_KERNEL_LINUX_USE_CUSTOM_HEADERS is not set
yann@962
   214
yann@962
   215
#
yann@962
   216
# GMP and MPFR
yann@962
   217
#
yann@1240
   218
CT_GMP_MPFR=y
yann@1240
   219
# CT_GMP_MPFR_TARGET is not set
yann@1240
   220
CT_GMP_V_4_2_2=y
yann@1240
   221
# CT_GMP_V_4_2_4 is not set
yann@1240
   222
CT_GMP_VERSION="4.2.2"
yann@1240
   223
CT_GMP_CHECK=y
yann@1240
   224
CT_MPFR_V_2_3_1=y
yann@1240
   225
# CT_MPFR_V_2_3_2 is not set
yann@1240
   226
# CT_MPFR_V_2_4_0 is not set
yann@1240
   227
CT_MPFR_VERSION="2.3.1"
yann@1240
   228
CT_MPFR_CHECK=y
yann@962
   229
yann@962
   230
#
yann@962
   231
# binutils
yann@962
   232
#
yann@1076
   233
CT_BINUTILS_VERSION="2.19"
yann@962
   234
# CT_BINUTILS_V_2_14 is not set
yann@962
   235
# CT_BINUTILS_V_2_15 is not set
yann@962
   236
# CT_BINUTILS_V_2_16_1 is not set
yann@962
   237
# CT_BINUTILS_V_2_17 is not set
yann@1076
   238
# CT_BINUTILS_V_2_18 is not set
yann@962
   239
# CT_BINUTILS_V_2_18_50_0_4 is not set
yann@962
   240
# CT_BINUTILS_V_2_18_50_0_6 is not set
yann@962
   241
# CT_BINUTILS_V_2_18_50_0_7 is not set
yann@962
   242
# CT_BINUTILS_V_2_18_50_0_8 is not set
yann@962
   243
# CT_BINUTILS_V_2_18_50_0_9 is not set
yann@962
   244
# CT_BINUTILS_V_2_18_90 is not set
yann@962
   245
# CT_BINUTILS_V_2_18_91 is not set
yann@962
   246
# CT_BINUTILS_V_2_18_92 is not set
yann@962
   247
# CT_BINUTILS_V_2_18_93 is not set
yann@1076
   248
CT_BINUTILS_V_2_19=y
yann@1240
   249
# CT_BINUTILS_V_2_19_1 is not set
yann@962
   250
# CT_BINUTILS_V_2_19_50_0_1 is not set
yann@1233
   251
# CT_BINUTILS_V_2_19_51_0_1 is not set
yann@1240
   252
# CT_BINUTILS_V_2_19_51_0_2 is not set
yann@962
   253
CT_BINUTILS_EXTRA_CONFIG=""
yann@962
   254
# CT_BINUTILS_FOR_TARGET is not set
yann@962
   255
yann@962
   256
#
yann@962
   257
# C compiler
yann@962
   258
#
yann@962
   259
CT_CC="gcc"
yann@1240
   260
CT_CC_VERSION="4.3.2"
yann@962
   261
CT_CC_gcc=y
yann@962
   262
# CT_CC_V_3_2_3 is not set
yann@962
   263
# CT_CC_V_3_3_6 is not set
yann@962
   264
# CT_CC_V_3_4_6 is not set
yann@962
   265
# CT_CC_V_4_0_0 is not set
yann@962
   266
# CT_CC_V_4_0_1 is not set
yann@962
   267
# CT_CC_V_4_0_2 is not set
yann@962
   268
# CT_CC_V_4_0_3 is not set
yann@962
   269
# CT_CC_V_4_0_4 is not set
yann@962
   270
# CT_CC_V_4_1_0 is not set
yann@962
   271
# CT_CC_V_4_1_1 is not set
yann@962
   272
# CT_CC_V_4_1_2 is not set
yann@962
   273
# CT_CC_V_4_2_0 is not set
yann@962
   274
# CT_CC_V_4_2_1 is not set
yann@962
   275
# CT_CC_V_4_2_2 is not set
yann@962
   276
# CT_CC_V_4_2_3 is not set
yann@1240
   277
# CT_CC_V_4_2_4 is not set
yann@962
   278
# CT_CC_V_4_3_0 is not set
yann@962
   279
# CT_CC_V_4_3_1 is not set
yann@1240
   280
CT_CC_V_4_3_2=y
yann@1233
   281
# CT_CC_V_4_3_3 is not set
yann@1240
   282
CT_CC_GCC_4_3_or_later=y
yann@962
   283
CT_CC_CXA_ATEXIT=y
yann@962
   284
CT_CC_SJLJ_EXCEPTIONS_CONFIGURE=y
yann@962
   285
# CT_CC_SJLJ_EXCEPTIONS_USE is not set
yann@962
   286
# CT_CC_SJLJ_EXCEPTIONS_DONT_USE is not set
yann@962
   287
CT_CC_CORE_EXTRA_CONFIG=""
yann@962
   288
CT_CC_EXTRA_CONFIG=""
yann@1240
   289
CT_CC_PKGVERSION="crosstool-NG-${CT_VERSION}"
yann@1240
   290
CT_CC_BUGURL=""
yann@962
   291
CT_CC_SUPPORT_CXX=y
yann@962
   292
CT_CC_SUPPORT_FORTRAN=y
yann@962
   293
CT_CC_SUPPORT_JAVA=y
yann@962
   294
CT_CC_SUPPORT_ADA=y
yann@962
   295
CT_CC_SUPPORT_OBJC=y
yann@962
   296
CT_CC_SUPPORT_OBJCXX=y
yann@962
   297
yann@962
   298
#
yann@962
   299
# Additional supported languages:
yann@962
   300
#
yann@1233
   301
CT_CC_LANG_CXX=y
yann@962
   302
# CT_CC_LANG_FORTRAN is not set
yann@962
   303
# CT_CC_LANG_JAVA is not set
yann@962
   304
# CT_CC_LANG_ADA is not set
yann@962
   305
# CT_CC_LANG_OBJC is not set
yann@962
   306
# CT_CC_LANG_OBJCXX is not set
yann@962
   307
CT_CC_LANG_OTHERS=""
yann@962
   308
CT_LIBC="glibc"
yann@962
   309
yann@962
   310
#
yann@962
   311
# C-library
yann@962
   312
#
yann@962
   313
CT_LIBC_VERSION="2.7"
yann@962
   314
# CT_LIBC_eglibc is not set
yann@962
   315
CT_LIBC_glibc=y
yann@962
   316
# CT_LIBC_uClibc is not set
yann@962
   317
# CT_LIBC_V_2_3_6 is not set
yann@962
   318
# CT_LIBC_V_2_5 is not set
yann@962
   319
# CT_LIBC_V_2_5_1 is not set
yann@962
   320
# CT_LIBC_V_2_6 is not set
yann@962
   321
# CT_LIBC_V_2_6_1 is not set
yann@962
   322
CT_LIBC_V_2_7=y
yann@1130
   323
# CT_LIBC_V_2_8 is not set
yann@1130
   324
# CT_LIBC_V_2_9 is not set
yann@962
   325
# CT_LIBC_V_LATEST is not set
yann@962
   326
# CT_LIBC_V_date is not set
yann@1130
   327
# CT_LIBC_GLIBC_2_8_or_later is not set
yann@962
   328
yann@962
   329
#
yann@1233
   330
# glibc/eglibc common options
yann@1233
   331
#
yann@1233
   332
CT_LIBC_GLIBC_EXTRA_CONFIG=""
yann@1233
   333
CT_LIBC_GLIBC_CONFIGPARMS="no-z-defs=yes"
yann@1233
   334
CT_LIBC_GLIBC_EXTRA_CFLAGS=""
yann@1233
   335
CT_LIBC_EXTRA_CC_ARGS=""
yann@1233
   336
# CT_LIBC_GLIBC_USE_PORTS is not set
yann@1233
   337
CT_LIBC_ADDONS_LIST=""
yann@1233
   338
# CT_LIBC_GLIBC_KERNEL_VERSION_NONE is not set
yann@1233
   339
CT_LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS=y
yann@1233
   340
# CT_LIBC_GLIBC_KERNEL_VERSION_CHOSEN is not set
yann@1233
   341
CT_LIBC_GLIBC_MIN_KERNEL="2.6.26.8"
yann@1233
   342
yann@1233
   343
#
yann@962
   344
# Common C library options
yann@962
   345
#
yann@962
   346
CT_LIBC_SUPPORT_NPTL=y
yann@962
   347
CT_LIBC_SUPPORT_LINUXTHREADS=y
yann@962
   348
CT_THREADS="nptl"
yann@962
   349
CT_THREADS_NPTL=y
yann@962
   350
# CT_THREADS_LINUXTHREADS is not set
yann@962
   351
# CT_THREADS_NONE is not set
yann@962
   352
yann@962
   353
#
yann@962
   354
# Tools facilities
yann@962
   355
#
yann@962
   356
# CT_TOOL_libelf is not set
yann@962
   357
# CT_TOOL_sstrip is not set
yann@962
   358
yann@962
   359
#
yann@962
   360
# Debug facilities
yann@962
   361
#
yann@962
   362
# CT_DEBUG_dmalloc is not set
yann@962
   363
# CT_DEBUG_duma is not set
yann@962
   364
# CT_DEBUG_gdb is not set
yann@962
   365
# CT_DEBUG_ltrace is not set
yann@962
   366
# CT_DEBUG_strace is not set