samples/avr32-unknown-none/crosstool.config
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Jun 13 23:38:37 2010 +0200 (2010-06-13)
changeset 1983 198a5a6e5239
parent 1841 8aa54bcb9b7d
child 2055 5b352265b42e
permissions -rw-r--r--
cc/gcc: baremetal requires a two-pass process

Here, we implement a highly ugly hack. I'm not proud of that one...

To build the libstdc++ library, the compiler requires the C library. In
case we build for non-baremetal, this is normally handled by the final
step, later.

But in the case of bare-metal, we never go through the final step (because
it does not work, and it seems complex enough to make it work), so the
baremetal compilers are issued out of the core step.
mgl@1371
     1
#
mgl@1371
     2
# Automatically generated make config: don't edit
yann@1941
     3
# crosstool-NG version: hg_default@1928_0535b588679a
yann@1941
     4
# Tue Apr 20 20:01:11 2010
mgl@1371
     5
#
yann@1941
     6
# CT_BACKEND is not set
mgl@1371
     7
mgl@1371
     8
#
mgl@1371
     9
# Paths and misc options
mgl@1371
    10
#
mgl@1371
    11
mgl@1371
    12
#
mgl@1371
    13
# crosstool-NG behavior
mgl@1371
    14
#
mgl@1371
    15
# CT_OBSOLETE is not set
mgl@1371
    16
CT_EXPERIMENTAL=y
yann@1567
    17
# CT_DEBUG_CT is not set
mgl@1371
    18
mgl@1371
    19
#
mgl@1371
    20
# Paths
mgl@1371
    21
#
yann@1563
    22
CT_LOCAL_TARBALLS_DIR="${HOME}/src"
yann@1567
    23
CT_SAVE_TARBALLS=y
mgl@1371
    24
CT_WORK_DIR="${CT_TOP_DIR}/targets"
mgl@1371
    25
CT_PREFIX_DIR="${HOME}/x-tools/${CT_TARGET}"
mgl@1371
    26
CT_INSTALL_DIR="${CT_PREFIX_DIR}"
mgl@1371
    27
CT_REMOVE_DOCS=y
mgl@1371
    28
CT_INSTALL_DIR_RO=y
mgl@1371
    29
mgl@1371
    30
#
mgl@1371
    31
# Downloading
mgl@1371
    32
#
mgl@1371
    33
# CT_FORBID_DOWNLOAD is not set
mgl@1371
    34
# CT_FORCE_DOWNLOAD is not set
mgl@1371
    35
# CT_USE_MIRROR is not set
mgl@1371
    36
CT_CONNECT_TIMEOUT=10
yann@1791
    37
CT_DOWNLOAD_MAX_CHUNKS=5
mgl@1371
    38
# CT_ONLY_DOWNLOAD is not set
mgl@1371
    39
mgl@1371
    40
#
mgl@1371
    41
# Extracting
mgl@1371
    42
#
mgl@1371
    43
# CT_FORCE_EXTRACT is not set
mgl@1371
    44
CT_OVERIDE_CONFIG_GUESS_SUB=y
mgl@1371
    45
# CT_ONLY_EXTRACT is not set
yann@1563
    46
CT_PATCH_BUNDLED=y
yann@1563
    47
# CT_PATCH_LOCAL is not set
yann@1563
    48
# CT_PATCH_BUNDLED_LOCAL is not set
yann@1563
    49
# CT_PATCH_LOCAL_BUNDLED is not set
yann@1563
    50
# CT_PATCH_BUNDLED_FALLBACK_LOCAL is not set
yann@1563
    51
# CT_PATCH_LOCAL_FALLBACK_BUNDLED is not set
yann@1653
    52
# CT_PATCH_NONE is not set
yann@1563
    53
CT_PATCH_ORDER="bundled"
yann@1563
    54
# CT_PATCH_SINGLE is not set
yann@1563
    55
# CT_PATCH_USE_LOCAL is not set
mgl@1371
    56
mgl@1371
    57
#
mgl@1371
    58
# Build behavior
mgl@1371
    59
#
mgl@1371
    60
CT_PARALLEL_JOBS=1
mgl@1371
    61
CT_LOAD=0
mgl@1371
    62
CT_USE_PIPES=y
yann@1567
    63
CT_CONFIG_SHELL_SH=y
mgl@1371
    64
# CT_CONFIG_SHELL_ASH is not set
yann@1567
    65
# CT_CONFIG_SHELL_BASH is not set
yann@1563
    66
# CT_CONFIG_SHELL_CUSTOM is not set
yann@1567
    67
CT_CONFIG_SHELL="sh"
mgl@1371
    68
mgl@1371
    69
#
mgl@1371
    70
# Logging
mgl@1371
    71
#
mgl@1371
    72
# CT_LOG_ERROR is not set
mgl@1371
    73
# CT_LOG_WARN is not set
yann@1567
    74
# CT_LOG_INFO is not set
yann@1567
    75
CT_LOG_EXTRA=y
yann@1841
    76
# CT_LOG_ALL is not set
mgl@1371
    77
# CT_LOG_DEBUG is not set
yann@1567
    78
CT_LOG_LEVEL_MAX="EXTRA"
mgl@1371
    79
# CT_LOG_SEE_TOOLS_WARN is not set
mgl@1371
    80
CT_LOG_PROGRESS_BAR=y
mgl@1371
    81
CT_LOG_TO_FILE=y
mgl@1371
    82
CT_LOG_FILE_COMPRESS=y
mgl@1371
    83
mgl@1371
    84
#
mgl@1371
    85
# Target options
mgl@1371
    86
#
mgl@1371
    87
CT_ARCH="avr32"
mgl@1371
    88
# CT_ARCH_SUPPORTS_BOTH_MMU is not set
mgl@1371
    89
# CT_ARCH_SUPPORTS_BOTH_ENDIAN is not set
yann@1791
    90
CT_ARCH_SUPPORTS_32=y
yann@1653
    91
# CT_ARCH_SUPPORTS_64 is not set
mgl@1468
    92
CT_ARCH_SUPPORT_ARCH=y
mgl@1371
    93
# CT_ARCH_SUPPORT_ABI is not set
mgl@1468
    94
CT_ARCH_SUPPORT_CPU=y
mgl@1468
    95
CT_ARCH_SUPPORT_TUNE=y
mgl@1468
    96
CT_ARCH_SUPPORT_FPU=y
mgl@1371
    97
# CT_ARCH_DEFAULT_HAS_MMU is not set
mgl@1372
    98
CT_ARCH_DEFAULT_BE=y
mgl@1371
    99
# CT_ARCH_DEFAULT_LE is not set
yann@1791
   100
CT_ARCH_DEFAULT_32=y
yann@1653
   101
# CT_ARCH_DEFAULT_64 is not set
mgl@1468
   102
CT_ARCH_ARCH=""
mgl@1468
   103
CT_ARCH_CPU=""
mgl@1468
   104
CT_ARCH_TUNE=""
mgl@1468
   105
CT_ARCH_FPU=""
yann@1791
   106
CT_ARCH_32=y
yann@1653
   107
# CT_ARCH_64 is not set
yann@1791
   108
CT_ARCH_BITNESS=32
mgl@1371
   109
# CT_ARCH_FLOAT_HW is not set
mgl@1371
   110
CT_ARCH_FLOAT_SW=y
mgl@1371
   111
CT_TARGET_CFLAGS=""
mgl@1371
   112
CT_TARGET_LDFLAGS=""
mgl@1371
   113
mgl@1371
   114
#
mgl@1371
   115
# General target options
mgl@1371
   116
#
mgl@1371
   117
# CT_ARCH_alpha is not set
mgl@1371
   118
# CT_ARCH_arm is not set
mgl@1371
   119
CT_ARCH_avr32=y
yann@1941
   120
# CT_ARCH_blackfin is not set
mgl@1371
   121
# CT_ARCH_ia64 is not set
yann@1791
   122
# CT_ARCH_m68k is not set
mgl@1371
   123
# CT_ARCH_mips is not set
yann@1563
   124
# CT_ARCH_powerpc is not set
yann@1653
   125
# CT_ARCH_s390 is not set
mgl@1371
   126
# CT_ARCH_sh is not set
yann@1563
   127
# CT_ARCH_x86 is not set
yann@1941
   128
CT_ARCH_alpha_AVAILABLE=y
yann@1941
   129
CT_ARCH_arm_AVAILABLE=y
yann@1941
   130
CT_ARCH_avr32_AVAILABLE=y
yann@1941
   131
CT_ARCH_blackfin_AVAILABLE=y
yann@1941
   132
CT_ARCH_ia64_AVAILABLE=y
yann@1941
   133
CT_ARCH_m68k_AVAILABLE=y
yann@1941
   134
CT_ARCH_mips_AVAILABLE=y
yann@1941
   135
CT_ARCH_powerpc_AVAILABLE=y
yann@1941
   136
CT_ARCH_s390_AVAILABLE=y
yann@1941
   137
CT_ARCH_sh_AVAILABLE=y
yann@1941
   138
CT_ARCH_x86_AVAILABLE=y
mgl@1372
   139
CT_ARCH_USE_MMU=y
mgl@1371
   140
mgl@1371
   141
#
mgl@1371
   142
# Target optimisations
mgl@1371
   143
#
mgl@1371
   144
mgl@1371
   145
#
mgl@1371
   146
# Toolchain options
mgl@1371
   147
#
mgl@1371
   148
mgl@1371
   149
#
mgl@1371
   150
# General toolchain options
mgl@1371
   151
#
mgl@1371
   152
CT_USE_SYSROOT=y
mgl@1371
   153
CT_SYSROOT_DIR_PREFIX=""
mgl@1371
   154
mgl@1371
   155
#
mgl@1371
   156
# Tuple completion and aliasing
mgl@1371
   157
#
mgl@1371
   158
CT_TARGET_VENDOR="unknown"
mgl@1371
   159
CT_TARGET_ALIAS_SED_EXPR=""
mgl@1371
   160
CT_TARGET_ALIAS=""
mgl@1371
   161
mgl@1371
   162
#
mgl@1371
   163
# Toolchain type
mgl@1371
   164
#
mgl@1371
   165
# CT_NATIVE is not set
mgl@1371
   166
CT_CROSS=y
mgl@1371
   167
# CT_CROSS_NATIVE is not set
mgl@1371
   168
# CT_CANADIAN is not set
mgl@1371
   169
CT_TOOLCHAIN_TYPE="cross"
mgl@1371
   170
mgl@1371
   171
#
mgl@1371
   172
# Build system
mgl@1371
   173
#
mgl@1371
   174
CT_BUILD=""
mgl@1371
   175
CT_BUILD_PREFIX=""
mgl@1371
   176
CT_BUILD_SUFFIX=""
mgl@1371
   177
mgl@1371
   178
#
mgl@1371
   179
# Operating System
mgl@1371
   180
#
mgl@1371
   181
CT_BARE_METAL=y
yann@1563
   182
# CT_KERNEL_SUPPORTS_SHARED_LIBS is not set
mgl@1371
   183
CT_KERNEL="bare-metal"
mgl@1371
   184
CT_KERNEL_bare_metal=y
mgl@1371
   185
# CT_KERNEL_linux is not set
yann@1941
   186
CT_KERNEL_bare_metal_AVAILABLE=y
yann@1941
   187
CT_KERNEL_linux_AVAILABLE=y
mgl@1371
   188
mgl@1371
   189
#
yann@1563
   190
# Common kernel options
mgl@1371
   191
#
mgl@1371
   192
mgl@1371
   193
#
mgl@1371
   194
# Binary utilities
mgl@1371
   195
#
mgl@1372
   196
CT_ARCH_BINFMT_ELF=y
mgl@1372
   197
# CT_ARCH_BINFMT_FLAT is not set
yann@1941
   198
# CT_ARCH_BINFMT_FDPIC is not set
mgl@1371
   199
mgl@1371
   200
#
mgl@1371
   201
# GNU binutils
mgl@1371
   202
#
yann@1616
   203
# CT_BINUTILS_V_2_20 is not set
yann@1563
   204
# CT_BINUTILS_V_2_19_1 is not set
yann@1563
   205
# CT_BINUTILS_V_2_19 is not set
yann@1563
   206
CT_BINUTILS_V_2_18=y
yann@1563
   207
# CT_BINUTILS_V_2_17 is not set
yann@1563
   208
# CT_BINUTILS_V_2_16_1 is not set
yann@1616
   209
CT_BINUTILS_VERSION="2.18"
mgl@1371
   210
CT_BINUTILS_EXTRA_CONFIG=""
mgl@1371
   211
mgl@1371
   212
#
yann@1941
   213
# sstrip
yann@1941
   214
#
yann@1941
   215
# CT_SSTRIP is not set
yann@1941
   216
yann@1941
   217
#
mgl@1371
   218
# C compiler
mgl@1371
   219
#
mgl@1371
   220
CT_CC="gcc"
mgl@1371
   221
CT_CC_VERSION="4.2.2"
mgl@1371
   222
CT_CC_gcc=y
yann@1941
   223
# CT_CC_V_4_5_0 is not set
yann@1791
   224
# CT_CC_V_4_4_3 is not set
yann@1616
   225
# CT_CC_V_4_4_2 is not set
yann@1563
   226
# CT_CC_V_4_4_1 is not set
yann@1563
   227
# CT_CC_V_4_4_0 is not set
yann@1563
   228
# CT_CC_V_4_3_4 is not set
yann@1563
   229
# CT_CC_V_4_3_3 is not set
yann@1563
   230
# CT_CC_V_4_3_2 is not set
yann@1563
   231
# CT_CC_V_4_3_1 is not set
yann@1563
   232
# CT_CC_V_4_2_4 is not set
yann@1563
   233
# CT_CC_V_4_2_3 is not set
yann@1563
   234
CT_CC_V_4_2_2=y
yann@1563
   235
# CT_CC_V_4_2_1 is not set
yann@1563
   236
# CT_CC_V_4_2_0 is not set
yann@1563
   237
# CT_CC_V_4_1_2 is not set
yann@1563
   238
# CT_CC_V_4_0_4 is not set
yann@1563
   239
# CT_CC_V_3_4_6 is not set
yann@1941
   240
CT_CC_GCC_4_2_or_later=y
mgl@1371
   241
# CT_CC_GCC_4_3_or_later is not set
mgl@1371
   242
# CT_CC_GCC_4_4_or_later is not set
yann@1941
   243
# CT_CC_GCC_4_5_or_later is not set
yann@1941
   244
# CT_CC_GCC_USE_GMP_MPFR is not set
yann@1941
   245
# CT_CC_GCC_USE_PPL_CLOOG_MPC is not set
yann@1941
   246
# CT_CC_GCC_USE_LIBELF is not set
yann@1563
   247
CT_CC_ENABLE_CXX_FLAGS=""
mgl@1371
   248
CT_CC_CORE_EXTRA_CONFIG=""
mgl@1371
   249
CT_CC_SUPPORT_CXX=y
mgl@1371
   250
CT_CC_SUPPORT_FORTRAN=y
mgl@1371
   251
CT_CC_SUPPORT_JAVA=y
mgl@1371
   252
CT_CC_SUPPORT_ADA=y
mgl@1371
   253
CT_CC_SUPPORT_OBJC=y
mgl@1371
   254
CT_CC_SUPPORT_OBJCXX=y
mgl@1371
   255
mgl@1371
   256
#
mgl@1371
   257
# Additional supported languages:
mgl@1371
   258
#
mgl@1371
   259
# CT_CC_LANG_CXX is not set
mgl@1371
   260
mgl@1371
   261
#
mgl@1371
   262
# C-library
mgl@1371
   263
#
yann@1653
   264
CT_LIBC="newlib"
mgl@1371
   265
CT_LIBC_VERSION="1.17.0"
mgl@1371
   266
# CT_LIBC_eglibc is not set
mgl@1371
   267
# CT_LIBC_glibc is not set
mgl@1371
   268
CT_LIBC_newlib=y
yann@1653
   269
# CT_LIBC_none is not set
mgl@1371
   270
# CT_LIBC_uClibc is not set
yann@1941
   271
CT_LIBC_eglibc_AVAILABLE=y
yann@1941
   272
CT_LIBC_glibc_AVAILABLE=y
yann@1941
   273
CT_LIBC_newlib_AVAILABLE=y
yann@1791
   274
# CT_LIBC_NEWLIB_V_1_18_0 is not set
yann@1653
   275
CT_LIBC_NEWLIB_V_1_17_0=y
yann@1653
   276
# CT_LIBC_NEWLIB_CVS is not set
yann@1653
   277
yann@1653
   278
#
yann@1653
   279
# Architecture specific options
yann@1653
   280
#
mgl@1373
   281
CT_ATMEL_AVR32_HEADERS=y
yann@1941
   282
CT_LIBC_none_AVAILABLE=y
yann@1941
   283
CT_LIBC_uClibc_AVAILABLE=y
yann@1653
   284
# CT_LIBC_SUPPORT_NPTL is not set
yann@1653
   285
# CT_LIBC_SUPPORT_LINUXTHREADS is not set
yann@1653
   286
CT_THREADS="none"
mgl@1371
   287
mgl@1371
   288
#
mgl@1371
   289
# Common C library options
mgl@1371
   290
#
mgl@1371
   291
# CT_THREADS_NPTL is not set
mgl@1371
   292
# CT_THREADS_LINUXTHREADS is not set
mgl@1371
   293
CT_THREADS_NONE=y
mgl@1371
   294
mgl@1371
   295
#
mgl@1371
   296
# Debug facilities
mgl@1371
   297
#
mgl@1371
   298
# CT_DEBUG_dmalloc is not set
mgl@1371
   299
# CT_DEBUG_duma is not set
mgl@1371
   300
# CT_DEBUG_gdb is not set
mgl@1371
   301
# CT_DEBUG_ltrace is not set
mgl@1371
   302
# CT_DEBUG_strace is not set
yann@1563
   303
yann@1563
   304
#
yann@1563
   305
# Companion libraries
yann@1563
   306
#
yann@1841
   307
yann@1841
   308
#
yann@1841
   309
# FIXME: check real dependencies!!!
yann@1841
   310
#
yann@1841
   311
# CT_COMPLIBS is not set
yann@1563
   312
# CT_WRAPPER_NEEDED is not set
yann@1791
   313
yann@1791
   314
#
yann@1791
   315
# Companion tools
yann@1791
   316
#
yann@1791
   317
yann@1791
   318
#
yann@1791
   319
# READ HELP before you say 'Y' below !!!
yann@1791
   320
#
yann@1791
   321
# CT_COMP_TOOLS is not set