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