samples/arm-unknown-linux-uclibcgnueabi/crosstool.config
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sat Apr 26 21:31:05 2008 +0000 (2008-04-26)
changeset 454 372b2f397baa
parent 415 7e0146ce11a5
child 480 1c38fee4a96a
permissions -rw-r--r--
Configure tsocks with a simple heuristic.

Consider the proxy has to be in a 'local' network. It means it is directly
reachable by the local machine, even if the local machine has to hop through
one or more gates to reach the proxy (often the case in enterprise networks
where class A 10.0.0.0/8 is in fact sub-divided into smaller networks, each
one of them in a different location, eg. 10.1.0.0/16 in a place, while
10.2.0.0/16 would be on the other side of the world). Not being in the same
subnet does not mean the proxy is not available.

So we will build a mask with at most high bits set, which defines a network
that has both the local machine and the proxy. Because a machine may have
more than one interface, build a mask for each of them, removing 127.0.0.1
which is added automagically by tsocks, and removing duplicate masks.

If all of this does not work, then it means the local machine can NOT in fact
reach the proxy, which in turn means the user mis-configured something (most
probably a typo...).

/trunk/scripts/crosstool.sh | 61 52 9 0 +++++++++++++++++++++++++++++++++++++++++++--------
1 file changed, 52 insertions(+), 9 deletions(-)
yann@397
     1
#
yann@397
     2
# Automatically generated make config: don't edit
yann@415
     3
# crosstool-NG version: 0.3.2+svn
yann@415
     4
# Wed Jan 16 23:19:20 2008
yann@397
     5
#
yann@397
     6
# CT_FOOBAR is not set
yann@397
     7
yann@397
     8
#
yann@397
     9
# Paths and misc options
yann@397
    10
#
yann@397
    11
yann@397
    12
#
yann@397
    13
# crosstool-NG behavior
yann@397
    14
#
yann@397
    15
# CT_OBSOLETE is not set
yann@397
    16
CT_EXPERIMENTAL=y
yann@397
    17
# CT_BROKEN is not set
yann@397
    18
CT_DEBUG_CT=y
yann@397
    19
# CT_DEBUG_CT_PAUSE_STEPS is not set
yann@397
    20
CT_DEBUG_CT_SAVE_STEPS=y
yann@397
    21
CT_DEBUG_CT_SAVE_STEPS_GZIP=y
yann@397
    22
yann@397
    23
#
yann@397
    24
# Build behavior
yann@397
    25
#
yann@397
    26
CT_PARALLEL_JOBS=1
yann@397
    27
CT_LOAD=0
yann@397
    28
CT_NICE=0
yann@397
    29
CT_USE_PIPES=y
yann@397
    30
yann@397
    31
#
yann@397
    32
# Paths
yann@397
    33
#
yann@397
    34
CT_LOCAL_TARBALLS_DIR="${HOME}/dev/src"
yann@397
    35
CT_SAVE_TARBALLS=y
yann@397
    36
CT_PREFIX_DIR="/opt/x-tools/${CT_TARGET}"
yann@397
    37
CT_INSTALL_DIR="${CT_PREFIX_DIR}"
yann@397
    38
# CT_CUSTOM_PATCH is not set
yann@397
    39
CT_REMOVE_DOCS=y
yann@397
    40
# CT_INSTALL_DIR_RO is not set
yann@397
    41
yann@397
    42
#
yann@397
    43
# Downloading
yann@397
    44
#
yann@397
    45
# CT_FORCE_DOWNLOAD is not set
yann@397
    46
# CT_ONLY_DOWNLOAD is not set
yann@397
    47
yann@397
    48
#
yann@397
    49
# Extracting
yann@397
    50
#
yann@397
    51
# CT_FORCE_EXTRACT is not set
yann@397
    52
# CT_ONLY_EXTRACT is not set
yann@397
    53
yann@397
    54
#
yann@397
    55
# Logging
yann@397
    56
#
yann@397
    57
# CT_LOG_ERROR is not set
yann@397
    58
# CT_LOG_WARN is not set
yann@397
    59
# CT_LOG_INFO is not set
yann@397
    60
CT_LOG_EXTRA=y
yann@397
    61
# CT_LOG_DEBUG is not set
yann@397
    62
# CT_LOG_ALL is not set
yann@397
    63
CT_LOG_LEVEL_MAX="EXTRA"
yann@397
    64
# CT_LOG_SEE_TOOLS_WARN is not set
yann@397
    65
CT_LOG_PROGRESS_BAR=y
yann@397
    66
CT_LOG_TO_FILE=y
yann@397
    67
CT_LOG_FILE_COMPRESS=y
yann@397
    68
yann@397
    69
#
yann@397
    70
# Target options
yann@397
    71
#
yann@397
    72
yann@397
    73
#
yann@397
    74
# General target options
yann@397
    75
#
yann@397
    76
CT_ARCH="arm"
yann@397
    77
CT_ARCH_ARM=y
yann@397
    78
# CT_ARCH_IA64 is not set
yann@415
    79
# CT_ARCH_SH is not set
yann@397
    80
# CT_ARCH_MIPS is not set
yann@397
    81
# CT_ARCH_x86 is not set
yann@397
    82
# CT_ARCH_x86_64 is not set
yann@397
    83
CT_ARCH_SUPPORTS_BOTH_ENDIAN=y
yann@397
    84
# CT_ARCH_DEFAULT_BE is not set
yann@397
    85
CT_ARCH_DEFAULT_LE=y
yann@397
    86
# CT_ARCH_BE is not set
yann@397
    87
CT_ARCH_LE=y
yann@397
    88
yann@397
    89
#
yann@397
    90
# ARM specific options
yann@397
    91
#
yann@397
    92
CT_ARCH_ARM_EABI=y
yann@397
    93
yann@397
    94
#
yann@397
    95
# Target optimisations
yann@397
    96
#
yann@397
    97
CT_ARCH_ARCH="armv5te"
yann@397
    98
CT_ARCH_ABI=""
yann@397
    99
CT_ARCH_CPU="xscale"
yann@397
   100
CT_ARCH_TUNE="xscale"
yann@397
   101
CT_ARCH_FPU=""
yann@397
   102
# CT_ARCH_FLOAT_HW is not set
yann@397
   103
CT_ARCH_FLOAT_SW=y
yann@397
   104
CT_TARGET_CFLAGS=""
yann@397
   105
yann@397
   106
#
yann@397
   107
# Toolchain options
yann@397
   108
#
yann@397
   109
yann@397
   110
#
yann@397
   111
# General toolchain options
yann@397
   112
#
yann@397
   113
CT_USE_SYSROOT=y
yann@397
   114
CT_SHARED_LIBS=y
yann@397
   115
# CT_THREADS_NPTL is not set
yann@397
   116
CT_THREADS_LINUXTHREADS=y
yann@397
   117
# CT_THREADS_NONE is not set
yann@397
   118
CT_THREADS="linuxthreads"
yann@397
   119
CT_TARGET_VENDOR="unknown"
yann@397
   120
CT_TARGET_ALIAS_SED_EXPR=""
yann@397
   121
CT_TARGET_ALIAS=""
yann@397
   122
yann@397
   123
#
yann@397
   124
# Toolchain type
yann@397
   125
#
yann@397
   126
# CT_NATIVE is not set
yann@397
   127
CT_CROSS=y
yann@397
   128
# CT_CROSS_NATIVE is not set
yann@397
   129
# CT_CANADIAN is not set
yann@397
   130
CT_TOOLCHAIN_TYPE="cross"
yann@397
   131
CT_BUILD=""
yann@397
   132
CT_CC_NATIVE="gcc"
yann@397
   133
yann@397
   134
#
yann@397
   135
# Kernel
yann@397
   136
#
yann@397
   137
CT_KERNEL_LINUX=y
yann@397
   138
CT_KERNEL_VERSION="2.6.22.6"
yann@397
   139
CT_KERNEL_LINUX_HEADERS_INSTALL=y
yann@397
   140
# CT_KERNEL_LINUX_HEADERS_SANITISED is not set
yann@397
   141
# CT_KERNEL_LINUX_HEADERS_COPY is not set
yann@397
   142
# CT_KERNEL_LINUX_HEADERS_USE_CUSTOM_DIR is not set
yann@397
   143
CT_KERNEL="linux"
yann@397
   144
CT_KERNEL_VERSION_SEE_EXTRAVERSION=y
yann@397
   145
# CT_KERNEL_INSTALL_V_2_6_18_8 is not set
yann@397
   146
# CT_KERNEL_INSTALL_V_2_6_19_7 is not set
yann@397
   147
# CT_KERNEL_INSTALL_V_2_6_20_15 is not set
yann@397
   148
# CT_KERNEL_INSTALL_V_2_6_21_7 is not set
yann@397
   149
# CT_KERNEL_INSTALL_V_2_6_22 is not set
yann@397
   150
# CT_KERNEL_INSTALL_V_2_6_22_1 is not set
yann@397
   151
# CT_KERNEL_INSTALL_V_2_6_22_2 is not set
yann@397
   152
# CT_KERNEL_INSTALL_V_2_6_22_3 is not set
yann@397
   153
# CT_KERNEL_INSTALL_V_2_6_22_4 is not set
yann@397
   154
# CT_KERNEL_INSTALL_V_2_6_22_5 is not set
yann@397
   155
CT_KERNEL_INSTALL_V_2_6_22_6=y
yann@415
   156
# CT_KERNEL_INSTALL_V_2_6_22_7 is not set
yann@415
   157
# CT_KERNEL_INSTALL_V_2_6_22_8 is not set
yann@415
   158
# CT_KERNEL_INSTALL_V_2_6_22_9 is not set
yann@415
   159
# CT_KERNEL_INSTALL_V_2_6_22_10 is not set
yann@415
   160
# CT_KERNEL_INSTALL_V_2_6_23 is not set
yann@415
   161
# CT_KERNEL_INSTALL_V_2_6_23_1 is not set
yann@397
   162
# CT_KERNEL_LINUX_HEADERS_INSTALL_CHECK is not set
yann@397
   163
CT_KERNEL_LINUX_VERBOSITY_0=y
yann@397
   164
# CT_KERNEL_LINUX_VERBOSITY_1 is not set
yann@397
   165
# CT_KERNEL_LINUX_VERBOSITY_2 is not set
yann@397
   166
CT_KERNEL_LINUX_VERBOSE_LEVEL=0
yann@397
   167
# CT_KERNEL_LINUX_NEEDS_CONFIG is not set
yann@397
   168
yann@397
   169
#
yann@397
   170
# binutils
yann@397
   171
#
yann@397
   172
CT_BINUTILS_VERSION="2.18"
yann@397
   173
# CT_BINUTILS_V_2_14 is not set
yann@397
   174
# CT_BINUTILS_V_2_15 is not set
yann@397
   175
# CT_BINUTILS_V_2_16_1 is not set
yann@397
   176
# CT_BINUTILS_V_2_17 is not set
yann@397
   177
CT_BINUTILS_V_2_18=y
yann@397
   178
CT_BINUTILS_EXTRA_CONFIG=""
yann@397
   179
yann@397
   180
#
yann@397
   181
# C compiler
yann@397
   182
#
yann@397
   183
CT_CC_GCC=y
yann@397
   184
CT_CC_VERSION="4.2.1"
yann@397
   185
CT_CC="gcc"
yann@397
   186
# CT_CC_V_2_95_3 is not set
yann@397
   187
# CT_CC_V_3_2_3 is not set
yann@397
   188
# CT_CC_V_3_3_6 is not set
yann@397
   189
# CT_CC_V_3_4_6 is not set
yann@397
   190
# CT_CC_V_4_0_0 is not set
yann@397
   191
# CT_CC_V_4_0_1 is not set
yann@397
   192
# CT_CC_V_4_0_2 is not set
yann@397
   193
# CT_CC_V_4_0_3 is not set
yann@397
   194
# CT_CC_V_4_0_4 is not set
yann@397
   195
# CT_CC_V_4_1_0 is not set
yann@397
   196
# CT_CC_V_4_1_1 is not set
yann@397
   197
# CT_CC_V_4_1_2 is not set
yann@397
   198
# CT_CC_V_4_2_0 is not set
yann@397
   199
CT_CC_V_4_2_1=y
yann@415
   200
# CT_CC_V_4_2_2 is not set
yann@397
   201
CT_CC_CXA_ATEXIT=y
yann@397
   202
CT_CC_CORE_EXTRA_CONFIG=""
yann@397
   203
CT_CC_EXTRA_CONFIG=""
yann@397
   204
CT_CC_SUPPORT_CXX=y
yann@397
   205
CT_CC_SUPPORT_FORTRAN=y
yann@397
   206
CT_CC_SUPPORT_JAVA=y
yann@397
   207
CT_CC_SUPPORT_ADA=y
yann@397
   208
CT_CC_SUPPORT_OBJC=y
yann@397
   209
CT_CC_SUPPORT_OBJCXX=y
yann@397
   210
yann@397
   211
#
yann@425
   212
# Additional supported languages:
yann@397
   213
#
yann@397
   214
CT_CC_LANG_CXX=y
yann@397
   215
# CT_CC_LANG_FORTRAN is not set
yann@397
   216
# CT_CC_LANG_JAVA is not set
yann@397
   217
# CT_CC_LANG_ADA is not set
yann@397
   218
# CT_CC_LANG_OBJC is not set
yann@397
   219
# CT_CC_LANG_OBJCXX is not set
yann@397
   220
CT_CC_LANG_OTHERS=""
yann@397
   221
yann@397
   222
#
yann@397
   223
# C-library
yann@397
   224
#
yann@397
   225
# CT_LIBC_GLIBC is not set
yann@397
   226
CT_LIBC_UCLIBC=y
yann@397
   227
CT_LIBC_VERSION="0.9.29"
yann@397
   228
CT_LIBC="uClibc"
yann@397
   229
# CT_LIBC_SUPPORT_NPTL is not set
yann@397
   230
CT_LIBC_SUPPORT_LINUXTHREADS=y
yann@397
   231
# CT_LIBC_V_snapshot is not set
yann@397
   232
# CT_LIBC_V_specific_date is not set
yann@397
   233
# CT_LIBC_V_0_9_28 is not set
yann@397
   234
# CT_LIBC_V_0_9_28_1 is not set
yann@397
   235
# CT_LIBC_V_0_9_28_2 is not set
yann@397
   236
# CT_LIBC_V_0_9_28_3 is not set
yann@397
   237
CT_LIBC_V_0_9_29=y
yann@397
   238
CT_LIBC_UCLIBC_DEBUG_LEVEL_0=y
yann@397
   239
# CT_LIBC_UCLIBC_DEBUG_LEVEL_1 is not set
yann@397
   240
# CT_LIBC_UCLIBC_DEBUG_LEVEL_2 is not set
yann@397
   241
CT_LIBC_UCLIBC_DEBUG_LEVEL=0
yann@397
   242
CT_LIBC_UCLIBC_CONFIG_FILE="${CT_LIB_DIR}/samples/${CT_TARGET}/${CT_LIBC}-${CT_LIBC_VERSION}.config"
yann@397
   243
# CT_LIBC_UCLIBC_LOCALES is not set
yann@397
   244
yann@397
   245
#
yann@397
   246
# Tools facilities
yann@397
   247
#
yann@397
   248
# CT_SSTRIP is not set
yann@397
   249
yann@397
   250
#
yann@397
   251
# Debug facilities
yann@397
   252
#
yann@397
   253
# CT_DMALLOC is not set
yann@397
   254
# CT_DUMA is not set
yann@397
   255
# CT_GDB is not set
yann@397
   256
# CT_STRACE is not set