samples/m68k-unknown-elf/crosstool.config
author Anthony Foiani <anthony.foiani@gmail.com>
Thu May 19 23:06:16 2011 +0200 (2011-05-19)
branch1.11
changeset 2464 4b844234d214
parent 2290 ba82eb173bd4
child 2581 181206f4bdbc
permissions -rw-r--r--
complibs/ppl: build only C and C++ interfaces for PPL

By default, PPL wants to build interfaces for any of a variety of
langauges it finds on the local host (python, java, possibly perl, also
more esoteric languages such as ocaml and prolog).

These extra interfaces can double the compile time for the library. For
single-process builds, I found a savings of more than 40%:

default / j1: 716s total, 143.2s avg, 0.52s stdev
just_c / j1: 406s total, 81.2s avg, 0.33s stdev
just_c_cpp / j1: 413s total, 82.6s avg, 0.22s stdev

And for multi-process builds, it approached 50%:

default / j4: 625s total, 125.0s avg, 0.57s stdev
just_c / j4: 338s total, 67.6s avg, 1.25s stdev
just_c_cpp / j4: 327s total, 65.4s avg, 0.36s stdev

Since the PPL we build within ct-ng is only used by GCC, we only need to
build the C and C++ interfaces.

Signed-Off-By: Anthony Foiani <anthony.foiani@gmail.com>
(transplanted from ec30b191f0e3fe9bc73199f0bcb8d789db17aa92)
linux@1754
     1
#
linux@1754
     2
# Automatically generated make config: don't edit
yann@2426
     3
# crosstool-NG version: hg_default@2421_9a6bc21d4387
yann@2426
     4
# Thu Apr 28 19:30:08 2011
linux@1754
     5
#
yann@1941
     6
# CT_BACKEND is not set
yann@2055
     7
CT_MODULES=y
linux@1754
     8
linux@1754
     9
#
linux@1754
    10
# Paths and misc options
linux@1754
    11
#
linux@1754
    12
linux@1754
    13
#
linux@1754
    14
# crosstool-NG behavior
linux@1754
    15
#
linux@1754
    16
# CT_OBSOLETE is not set
linux@1754
    17
CT_EXPERIMENTAL=y
linux@1754
    18
# CT_DEBUG_CT is not set
linux@1754
    19
linux@1754
    20
#
linux@1754
    21
# Paths
linux@1754
    22
#
linux@1754
    23
CT_LOCAL_TARBALLS_DIR="${HOME}/src"
linux@1754
    24
CT_SAVE_TARBALLS=y
yann@2140
    25
CT_WORK_DIR="${CT_TOP_DIR}/.build"
linux@1754
    26
CT_PREFIX_DIR="${HOME}/x-tools/${CT_TARGET}"
linux@1754
    27
CT_INSTALL_DIR="${CT_PREFIX_DIR}"
yann@2290
    28
CT_RM_RF_PREFIX_DIR=y
linux@1754
    29
CT_REMOVE_DOCS=y
linux@1754
    30
CT_INSTALL_DIR_RO=y
yann@2173
    31
CT_STRIP_ALL_TOOLCHAIN_EXECUTABLES=y
linux@1754
    32
linux@1754
    33
#
linux@1754
    34
# Downloading
linux@1754
    35
#
linux@1754
    36
# CT_FORBID_DOWNLOAD is not set
linux@1754
    37
# CT_FORCE_DOWNLOAD is not set
linux@1754
    38
# CT_USE_MIRROR is not set
linux@1754
    39
CT_CONNECT_TIMEOUT=10
linux@1754
    40
# CT_ONLY_DOWNLOAD is not set
linux@1754
    41
linux@1754
    42
#
linux@1754
    43
# Extracting
linux@1754
    44
#
linux@1754
    45
# CT_FORCE_EXTRACT is not set
linux@1754
    46
CT_OVERIDE_CONFIG_GUESS_SUB=y
linux@1754
    47
# CT_ONLY_EXTRACT is not set
linux@1754
    48
CT_PATCH_BUNDLED=y
linux@1754
    49
# CT_PATCH_LOCAL is not set
linux@1754
    50
# CT_PATCH_BUNDLED_LOCAL is not set
linux@1754
    51
# CT_PATCH_LOCAL_BUNDLED is not set
linux@1754
    52
# CT_PATCH_BUNDLED_FALLBACK_LOCAL is not set
linux@1754
    53
# CT_PATCH_LOCAL_FALLBACK_BUNDLED is not set
linux@1754
    54
# CT_PATCH_NONE is not set
linux@1754
    55
CT_PATCH_ORDER="bundled"
linux@1754
    56
# CT_PATCH_SINGLE is not set
linux@1754
    57
# CT_PATCH_USE_LOCAL is not set
linux@1754
    58
linux@1754
    59
#
linux@1754
    60
# Build behavior
linux@1754
    61
#
linux@1754
    62
CT_PARALLEL_JOBS=1
linux@1754
    63
CT_LOAD=0
linux@1754
    64
CT_USE_PIPES=y
linux@1754
    65
# CT_CONFIG_SHELL_SH is not set
linux@1754
    66
# CT_CONFIG_SHELL_ASH is not set
linux@1754
    67
CT_CONFIG_SHELL_BASH=y
linux@1754
    68
# CT_CONFIG_SHELL_CUSTOM is not set
linux@1754
    69
CT_CONFIG_SHELL="bash"
linux@1754
    70
linux@1754
    71
#
linux@1754
    72
# Logging
linux@1754
    73
#
linux@1754
    74
# CT_LOG_ERROR is not set
linux@1754
    75
# CT_LOG_WARN is not set
yann@1841
    76
# CT_LOG_INFO is not set
yann@1841
    77
CT_LOG_EXTRA=y
yann@1841
    78
# CT_LOG_ALL is not set
linux@1754
    79
# CT_LOG_DEBUG is not set
yann@1841
    80
CT_LOG_LEVEL_MAX="EXTRA"
linux@1754
    81
# CT_LOG_SEE_TOOLS_WARN is not set
linux@1754
    82
CT_LOG_PROGRESS_BAR=y
linux@1754
    83
CT_LOG_TO_FILE=y
linux@1754
    84
CT_LOG_FILE_COMPRESS=y
linux@1754
    85
linux@1754
    86
#
linux@1754
    87
# Target options
linux@1754
    88
#
linux@1754
    89
CT_ARCH="m68k"
linux@1754
    90
# CT_ARCH_SUPPORTS_BOTH_MMU is not set
linux@1754
    91
# CT_ARCH_SUPPORTS_BOTH_ENDIAN is not set
linux@1754
    92
CT_ARCH_SUPPORTS_32=y
linux@1754
    93
# CT_ARCH_SUPPORTS_64 is not set
linux@1754
    94
# CT_ARCH_SUPPORT_ARCH is not set
linux@1754
    95
# CT_ARCH_SUPPORT_ABI is not set
linux@1754
    96
CT_ARCH_SUPPORT_CPU=y
linux@1754
    97
# CT_ARCH_SUPPORT_TUNE is not set
linux@1754
    98
# CT_ARCH_SUPPORT_FPU is not set
linux@1754
    99
# CT_ARCH_DEFAULT_HAS_MMU is not set
linux@1754
   100
CT_ARCH_DEFAULT_BE=y
linux@1754
   101
# CT_ARCH_DEFAULT_LE is not set
linux@1754
   102
CT_ARCH_DEFAULT_32=y
linux@1754
   103
# CT_ARCH_DEFAULT_64 is not set
linux@1754
   104
CT_ARCH_CPU="cpu32"
linux@1754
   105
CT_ARCH_32=y
linux@1754
   106
# CT_ARCH_64 is not set
linux@1754
   107
CT_ARCH_BITNESS=32
linux@1754
   108
CT_ARCH_FLOAT_HW=y
linux@1754
   109
# CT_ARCH_FLOAT_SW is not set
linux@1754
   110
CT_TARGET_CFLAGS=""
linux@1754
   111
CT_TARGET_LDFLAGS=""
linux@1754
   112
# CT_ARCH_alpha is not set
linux@1754
   113
# CT_ARCH_arm is not set
linux@1754
   114
# CT_ARCH_avr32 is not set
yann@1941
   115
# CT_ARCH_blackfin is not set
linux@1754
   116
CT_ARCH_m68k=y
linux@1754
   117
# CT_ARCH_mips is not set
linux@1754
   118
# CT_ARCH_powerpc is not set
linux@1754
   119
# CT_ARCH_s390 is not set
linux@1754
   120
# CT_ARCH_sh is not set
yann@2426
   121
# CT_ARCH_sparc is not set
linux@1754
   122
# CT_ARCH_x86 is not set
yann@1941
   123
CT_ARCH_alpha_AVAILABLE=y
yann@1941
   124
CT_ARCH_arm_AVAILABLE=y
yann@1941
   125
CT_ARCH_avr32_AVAILABLE=y
yann@1941
   126
CT_ARCH_blackfin_AVAILABLE=y
yann@1941
   127
CT_ARCH_m68k_AVAILABLE=y
yann@1941
   128
CT_ARCH_mips_AVAILABLE=y
yann@1941
   129
CT_ARCH_powerpc_AVAILABLE=y
yann@1941
   130
CT_ARCH_s390_AVAILABLE=y
yann@1941
   131
CT_ARCH_sh_AVAILABLE=y
yann@2426
   132
CT_ARCH_sparc_AVAILABLE=y
yann@1941
   133
CT_ARCH_x86_AVAILABLE=y
yann@2426
   134
yann@2426
   135
#
yann@2426
   136
# Generic target options
yann@2426
   137
#
linux@1754
   138
# CT_ARCH_USE_MMU is not set
linux@1754
   139
linux@1754
   140
#
linux@1754
   141
# Target optimisations
linux@1754
   142
#
linux@1754
   143
linux@1754
   144
#
linux@1754
   145
# Toolchain options
linux@1754
   146
#
linux@1754
   147
linux@1754
   148
#
linux@1754
   149
# General toolchain options
linux@1754
   150
#
yann@2290
   151
CT_FORCE_SYSROOT=y
linux@1754
   152
CT_USE_SYSROOT=y
yann@2290
   153
CT_SYSROOT_NAME="sysroot"
linux@1754
   154
CT_SYSROOT_DIR_PREFIX=""
yann@2290
   155
# CT_STATIC_TOOLCHAIN is not set
linux@1754
   156
linux@1754
   157
#
linux@1754
   158
# Tuple completion and aliasing
linux@1754
   159
#
linux@1754
   160
CT_TARGET_VENDOR="unknown"
linux@1754
   161
CT_TARGET_ALIAS_SED_EXPR=""
linux@1754
   162
CT_TARGET_ALIAS=""
linux@1754
   163
linux@1754
   164
#
linux@1754
   165
# Toolchain type
linux@1754
   166
#
linux@1754
   167
# CT_NATIVE is not set
linux@1754
   168
CT_CROSS=y
linux@1754
   169
# CT_CROSS_NATIVE is not set
linux@1754
   170
# CT_CANADIAN is not set
linux@1754
   171
CT_TOOLCHAIN_TYPE="cross"
linux@1754
   172
linux@1754
   173
#
linux@1754
   174
# Build system
linux@1754
   175
#
linux@1754
   176
CT_BUILD=""
linux@1754
   177
CT_BUILD_PREFIX=""
linux@1754
   178
CT_BUILD_SUFFIX=""
linux@1754
   179
linux@1754
   180
#
linux@1754
   181
# Operating System
linux@1754
   182
#
linux@1754
   183
CT_BARE_METAL=y
yann@2055
   184
# CT_MINGW32 is not set
linux@1754
   185
# CT_KERNEL_SUPPORTS_SHARED_LIBS is not set
linux@1754
   186
CT_KERNEL="bare-metal"
linux@1754
   187
CT_KERNEL_bare_metal=y
linux@1754
   188
# CT_KERNEL_linux is not set
yann@2055
   189
# CT_KERNEL_mingw32 is not set
yann@1941
   190
CT_KERNEL_bare_metal_AVAILABLE=y
yann@1941
   191
CT_KERNEL_linux_AVAILABLE=y
yann@2055
   192
CT_KERNEL_mingw32_AVAILABLE=y
linux@1754
   193
linux@1754
   194
#
linux@1754
   195
# Common kernel options
linux@1754
   196
#
linux@1754
   197
linux@1754
   198
#
linux@1754
   199
# Binary utilities
linux@1754
   200
#
linux@1754
   201
# CT_ARCH_BINFMT_ELF is not set
linux@1754
   202
CT_ARCH_BINFMT_FLAT=y
yann@1941
   203
# CT_ARCH_BINFMT_FDPIC is not set
linux@1754
   204
linux@1754
   205
#
linux@1754
   206
# GNU binutils
linux@1754
   207
#
yann@2290
   208
# CT_BINUTILS_V_2_21 is not set
yann@2055
   209
# CT_BINUTILS_V_2_20_1 is not set
yann@1941
   210
CT_BINUTILS_V_2_20=y
yann@1941
   211
# CT_BINUTILS_V_2_19_1 is not set
linux@1754
   212
# CT_BINUTILS_V_2_19 is not set
linux@1754
   213
# CT_BINUTILS_V_2_18 is not set
linux@1754
   214
# CT_BINUTILS_V_2_17 is not set
linux@1754
   215
# CT_BINUTILS_V_2_16_1 is not set
yann@1941
   216
CT_BINUTILS_VERSION="2.20"
yann@2426
   217
CT_BINUTILS_LINKER_LD=y
yann@2426
   218
# CT_BINUTILS_LINKER_GOLD is not set
yann@2426
   219
# CT_BINUTILS_LINKER_LD_GOLD is not set
yann@2426
   220
# CT_BINUTILS_LINKER_GOLD_LD is not set
yann@2426
   221
CT_BINUTILS_LINKERS_LIST="ld"
yann@2426
   222
CT_BINUTILS_LINKER_DEFAULT="bfd"
linux@1754
   223
CT_BINUTILS_EXTRA_CONFIG=""
linux@1754
   224
linux@1754
   225
#
linux@1754
   226
# elf2flt
linux@1754
   227
#
linux@1754
   228
CT_ELF2FLT_CVSHEAD=y
linux@1754
   229
# CT_ELF2FLT_CVS_SNAPSHOT is not set
linux@1754
   230
CT_ELF2FLT_VERSION="head"
linux@1754
   231
CT_ELF2FLT_EXTRA_CONFIG=""
linux@1754
   232
linux@1754
   233
#
linux@1754
   234
# C compiler
linux@1754
   235
#
linux@1754
   236
CT_CC="gcc"
linux@1754
   237
CT_CC_VERSION="4.3.4"
linux@1754
   238
CT_CC_gcc=y
yann@2426
   239
# CT_CC_GCC_SHOW_LINARO is not set
yann@2426
   240
# CT_CC_V_linaro_4_6_2011_04_0 is not set
yann@2426
   241
# CT_CC_V_4_6_0 is not set
yann@2426
   242
# CT_CC_V_linaro_4_5_2011_04_0 is not set
yann@2290
   243
# CT_CC_V_4_5_2 is not set
yann@2173
   244
# CT_CC_V_4_5_1 is not set
yann@1941
   245
# CT_CC_V_4_5_0 is not set
yann@2426
   246
# CT_CC_V_linaro_4_4_2011_02_0 is not set
yann@2426
   247
# CT_CC_V_4_4_6 is not set
yann@2173
   248
# CT_CC_V_4_4_5 is not set
yann@2055
   249
# CT_CC_V_4_4_4 is not set
linux@1754
   250
# CT_CC_V_4_4_3 is not set
linux@1754
   251
# CT_CC_V_4_4_2 is not set
linux@1754
   252
# CT_CC_V_4_4_1 is not set
linux@1754
   253
# CT_CC_V_4_4_0 is not set
yann@2173
   254
# CT_CC_V_4_3_5 is not set
linux@1754
   255
CT_CC_V_4_3_4=y
linux@1754
   256
# CT_CC_V_4_3_3 is not set
linux@1754
   257
# CT_CC_V_4_3_2 is not set
linux@1754
   258
# CT_CC_V_4_3_1 is not set
linux@1754
   259
# CT_CC_V_4_2_4 is not set
linux@1754
   260
# CT_CC_V_4_2_3 is not set
linux@1754
   261
# CT_CC_V_4_2_2 is not set
linux@1754
   262
# CT_CC_V_4_2_1 is not set
linux@1754
   263
# CT_CC_V_4_2_0 is not set
linux@1754
   264
# CT_CC_V_4_1_2 is not set
linux@1754
   265
# CT_CC_V_4_0_4 is not set
linux@1754
   266
# CT_CC_V_3_4_6 is not set
yann@2426
   267
# CT_CC_GCC_4_2 is not set
yann@1941
   268
CT_CC_GCC_4_2_or_later=y
yann@2426
   269
CT_CC_GCC_4_3=y
linux@1754
   270
CT_CC_GCC_4_3_or_later=y
yann@2426
   271
# CT_CC_GCC_4_4 is not set
linux@1754
   272
# CT_CC_GCC_4_4_or_later is not set
yann@2426
   273
# CT_CC_GCC_4_5 is not set
yann@1941
   274
# CT_CC_GCC_4_5_or_later is not set
yann@2426
   275
# CT_CC_GCC_4_6 is not set
yann@2426
   276
# CT_CC_GCC_4_6_or_later is not set
yann@2173
   277
# CT_CC_GCC_HAS_GRAPHITE is not set
yann@2173
   278
# CT_CC_GCC_HAS_LTO is not set
yann@1941
   279
CT_CC_GCC_USE_GMP_MPFR=y
yann@2055
   280
# CT_CC_GCC_USE_PPL_CLOOG is not set
yann@2173
   281
# CT_CC_GCC_USE_MPC is not set
yann@2173
   282
# CT_CC_GCC_USE_LIBELF is not set
linux@1754
   283
CT_CC_SUPPORT_CXX=y
linux@1754
   284
CT_CC_SUPPORT_FORTRAN=y
linux@1754
   285
CT_CC_SUPPORT_JAVA=y
linux@1754
   286
CT_CC_SUPPORT_ADA=y
linux@1754
   287
CT_CC_SUPPORT_OBJC=y
linux@1754
   288
CT_CC_SUPPORT_OBJCXX=y
linux@1754
   289
linux@1754
   290
#
linux@1754
   291
# Additional supported languages:
linux@1754
   292
#
linux@1754
   293
# CT_CC_LANG_CXX is not set
linux@1754
   294
linux@1754
   295
#
yann@2055
   296
# gcc other options
yann@2055
   297
#
yann@2426
   298
CT_CC_PKGVERSION="crosstool-NG-${CT_VERSION}"
yann@2426
   299
CT_CC_BUGURL=""
yann@2426
   300
CT_CC_ENABLE_CXX_FLAGS=""
yann@2426
   301
CT_CC_CORE_EXTRA_CONFIG=""
yann@2426
   302
yann@2426
   303
#
yann@2426
   304
# Optimisation features
yann@2426
   305
#
yann@2426
   306
yann@2426
   307
#
yann@2426
   308
# Settings for libraries running on target
yann@2426
   309
#
yann@2055
   310
CT_CC_GCC_ENABLE_TARGET_OPTSPACE=y
yann@2173
   311
# CT_CC_GCC_LIBMUDFLAP is not set
yann@2173
   312
# CT_CC_GCC_LIBGOMP is not set
yann@2173
   313
# CT_CC_GCC_LIBSSP is not set
yann@2055
   314
yann@2055
   315
#
yann@2055
   316
# Misc. obscure options.
yann@2055
   317
#
yann@2055
   318
# CT_CC_GCC_DISABLE_PCH is not set
yann@2173
   319
CT_CC_GCC_LDBL_128=m
yann@2055
   320
yann@2055
   321
#
linux@1754
   322
# C-library
linux@1754
   323
#
linux@1754
   324
CT_LIBC="none"
linux@1754
   325
# CT_LIBC_eglibc is not set
linux@1754
   326
# CT_LIBC_glibc is not set
yann@2055
   327
# CT_LIBC_mingw is not set
linux@1754
   328
# CT_LIBC_newlib is not set
linux@1754
   329
CT_LIBC_none=y
linux@1754
   330
# CT_LIBC_uClibc is not set
yann@1941
   331
CT_LIBC_eglibc_AVAILABLE=y
yann@1941
   332
CT_LIBC_glibc_AVAILABLE=y
yann@2055
   333
CT_LIBC_mingw_AVAILABLE=y
yann@1941
   334
CT_LIBC_newlib_AVAILABLE=y
yann@1941
   335
CT_LIBC_none_AVAILABLE=y
yann@1941
   336
CT_LIBC_uClibc_AVAILABLE=y
yann@2055
   337
# CT_LIBC_SUPPORT_THREADS_ANY is not set
linux@1754
   338
# CT_LIBC_SUPPORT_NPTL is not set
linux@1754
   339
# CT_LIBC_SUPPORT_LINUXTHREADS is not set
yann@2055
   340
# CT_LIBC_SUPPORT_WIN32THREADS is not set
yann@2290
   341
# CT_LIBC_SUPPORT_THREADS_NONE is not set
linux@1754
   342
CT_THREADS="none"
linux@1754
   343
linux@1754
   344
#
linux@1754
   345
# Debug facilities
linux@1754
   346
#
linux@1754
   347
# CT_DEBUG_dmalloc is not set
linux@1754
   348
# CT_DEBUG_duma is not set
linux@1754
   349
# CT_DEBUG_gdb is not set
linux@1754
   350
# CT_DEBUG_ltrace is not set
linux@1754
   351
# CT_DEBUG_strace is not set
linux@1754
   352
linux@1754
   353
#
linux@1754
   354
# Companion libraries
linux@1754
   355
#
yann@2173
   356
CT_COMPLIBS_NEEDED=y
yann@2173
   357
CT_GMP_NEEDED=y
yann@2173
   358
CT_MPFR_NEEDED=y
yann@2173
   359
# CT_PPL_NEEDED is not set
yann@2173
   360
# CT_CLOOG_NEEDED is not set
yann@2173
   361
# CT_MPC_NEEDED is not set
yann@2173
   362
# CT_LIBELF_NEEDED is not set
yann@1841
   363
CT_COMPLIBS=y
yann@1841
   364
CT_GMP=y
yann@1841
   365
CT_MPFR=y
yann@1941
   366
# CT_GMP_V_5_0_1 is not set
yann@1941
   367
CT_GMP_V_4_3_2=y
yann@1941
   368
# CT_GMP_V_4_3_1 is not set
linux@1754
   369
# CT_GMP_V_4_3_0 is not set
linux@1754
   370
# CT_GMP_V_4_2_4 is not set
linux@1754
   371
# CT_GMP_V_4_2_2 is not set
yann@1941
   372
CT_GMP_VERSION="4.3.2"
yann@2055
   373
# CT_MPFR_V_3_0_0 is not set
yann@1841
   374
CT_MPFR_V_2_4_2=y
yann@1841
   375
# CT_MPFR_V_2_4_1 is not set
linux@1754
   376
# CT_MPFR_V_2_4_0 is not set
linux@1754
   377
# CT_MPFR_V_2_3_2 is not set
linux@1754
   378
# CT_MPFR_V_2_3_1 is not set
yann@1841
   379
CT_MPFR_VERSION="2.4.2"
linux@1754
   380
linux@1754
   381
#
linux@1754
   382
# Companion libraries common options
linux@1754
   383
#
yann@1941
   384
# CT_COMPLIBS_CHECK is not set
linux@1754
   385
linux@1754
   386
#
linux@1754
   387
# Companion tools
linux@1754
   388
#
linux@1754
   389
linux@1754
   390
#
linux@1754
   391
# READ HELP before you say 'Y' below !!!
linux@1754
   392
#
linux@1754
   393
# CT_COMP_TOOLS is not set
yann@2055
   394
yann@2055
   395
#
yann@2055
   396
# Test suite
yann@2055
   397
#
yann@2055
   398
# CT_TEST_SUITE is not set
yann@2055
   399
# CT_TEST_SUITE_GCC is not set