samples: add Linux -> Mingw32 sample
authorBart vdr Meulen <bartvdrmeulen@gmail.com>
Sun Jul 11 21:37:29 2010 +0200 (2010-07-11)
changeset 2019235d1aa16e00
parent 2018 860de6018501
child 2020 9f0de857cb05
samples: add Linux -> Mingw32 sample

Sample to build compiler targetting mingw32 target systems

Signed-off-by: Bart vdr. Meulen <bartvdrmeulen@gmail.com>
---
samples/i686-pc-mingw32/crosstool.config | 302 +++++++++++++++++++++++++++++++
samples/i686-pc-mingw32/reported.by | 3
2 files changed, 305 insertions(+)
create mode 100644 samples/i686-pc-mingw32/crosstool.config
create mode 100644 samples/i686-pc-mingw32/reported.by
samples/i686-pc-mingw32/crosstool.config
samples/i686-pc-mingw32/reported.by
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/samples/i686-pc-mingw32/crosstool.config	Sun Jul 11 21:37:29 2010 +0200
     1.3 @@ -0,0 +1,367 @@
     1.4 +#
     1.5 +# Automatically generated make config: don't edit
     1.6 +# crosstool-NG version: hg_default@2019_7cf1a785f441
     1.7 +# Sun Jul 11 15:01:11 2010
     1.8 +#
     1.9 +# CT_BACKEND is not set
    1.10 +
    1.11 +#
    1.12 +# Paths and misc options
    1.13 +#
    1.14 +
    1.15 +#
    1.16 +# crosstool-NG behavior
    1.17 +#
    1.18 +# CT_OBSOLETE is not set
    1.19 +# CT_EXPERIMENTAL is not set
    1.20 +# CT_DEBUG_CT is not set
    1.21 +
    1.22 +#
    1.23 +# Paths
    1.24 +#
    1.25 +CT_LOCAL_TARBALLS_DIR="${HOME}/src"
    1.26 +CT_SAVE_TARBALLS=y
    1.27 +CT_WORK_DIR="${CT_TOP_DIR}/targets"
    1.28 +CT_PREFIX_DIR="${HOME}/x-tools/${CT_TARGET}"
    1.29 +CT_INSTALL_DIR="${CT_PREFIX_DIR}"
    1.30 +CT_REMOVE_DOCS=y
    1.31 +CT_INSTALL_DIR_RO=y
    1.32 +
    1.33 +#
    1.34 +# Downloading
    1.35 +#
    1.36 +# CT_FORBID_DOWNLOAD is not set
    1.37 +# CT_FORCE_DOWNLOAD is not set
    1.38 +CT_USE_MIRROR=y
    1.39 +# CT_PREFER_MIRROR is not set
    1.40 +CT_MIRROR_BASE_URL="http://ymorin.is-a-geek.org/mirrors/"
    1.41 +CT_CONNECT_TIMEOUT=10
    1.42 +CT_DOWNLOAD_MAX_CHUNKS=5
    1.43 +# CT_ONLY_DOWNLOAD is not set
    1.44 +
    1.45 +#
    1.46 +# Extracting
    1.47 +#
    1.48 +# CT_FORCE_EXTRACT is not set
    1.49 +CT_OVERIDE_CONFIG_GUESS_SUB=y
    1.50 +# CT_ONLY_EXTRACT is not set
    1.51 +CT_PATCH_BUNDLED=y
    1.52 +# CT_PATCH_LOCAL is not set
    1.53 +# CT_PATCH_BUNDLED_LOCAL is not set
    1.54 +# CT_PATCH_LOCAL_BUNDLED is not set
    1.55 +# CT_PATCH_BUNDLED_FALLBACK_LOCAL is not set
    1.56 +# CT_PATCH_LOCAL_FALLBACK_BUNDLED is not set
    1.57 +# CT_PATCH_NONE is not set
    1.58 +CT_PATCH_ORDER="bundled"
    1.59 +# CT_PATCH_SINGLE is not set
    1.60 +# CT_PATCH_USE_LOCAL is not set
    1.61 +
    1.62 +#
    1.63 +# Build behavior
    1.64 +#
    1.65 +CT_PARALLEL_JOBS=1
    1.66 +CT_LOAD=0
    1.67 +CT_USE_PIPES=y
    1.68 +# CT_CONFIG_SHELL_SH is not set
    1.69 +# CT_CONFIG_SHELL_ASH is not set
    1.70 +CT_CONFIG_SHELL_BASH=y
    1.71 +# CT_CONFIG_SHELL_CUSTOM is not set
    1.72 +CT_CONFIG_SHELL="bash"
    1.73 +
    1.74 +#
    1.75 +# Logging
    1.76 +#
    1.77 +# CT_LOG_ERROR is not set
    1.78 +# CT_LOG_WARN is not set
    1.79 +# CT_LOG_INFO is not set
    1.80 +CT_LOG_EXTRA=y
    1.81 +# CT_LOG_ALL is not set
    1.82 +# CT_LOG_DEBUG is not set
    1.83 +CT_LOG_LEVEL_MAX="EXTRA"
    1.84 +# CT_LOG_SEE_TOOLS_WARN is not set
    1.85 +CT_LOG_PROGRESS_BAR=y
    1.86 +CT_LOG_TO_FILE=y
    1.87 +CT_LOG_FILE_COMPRESS=y
    1.88 +
    1.89 +#
    1.90 +# Target options
    1.91 +#
    1.92 +CT_ARCH="x86"
    1.93 +# CT_ARCH_SUPPORTS_BOTH_MMU is not set
    1.94 +# CT_ARCH_SUPPORTS_BOTH_ENDIAN is not set
    1.95 +CT_ARCH_SUPPORTS_32=y
    1.96 +CT_ARCH_SUPPORTS_64=y
    1.97 +CT_ARCH_SUPPORT_ARCH=y
    1.98 +# CT_ARCH_SUPPORT_ABI is not set
    1.99 +CT_ARCH_SUPPORT_CPU=y
   1.100 +CT_ARCH_SUPPORT_TUNE=y
   1.101 +# CT_ARCH_SUPPORT_FPU is not set
   1.102 +# CT_ARCH_DEFAULT_HAS_MMU is not set
   1.103 +# CT_ARCH_DEFAULT_BE is not set
   1.104 +# CT_ARCH_DEFAULT_LE is not set
   1.105 +CT_ARCH_DEFAULT_32=y
   1.106 +# CT_ARCH_DEFAULT_64 is not set
   1.107 +CT_ARCH_ARCH="i686"
   1.108 +CT_ARCH_CPU=""
   1.109 +CT_ARCH_TUNE=""
   1.110 +CT_ARCH_32=y
   1.111 +# CT_ARCH_64 is not set
   1.112 +CT_ARCH_BITNESS=32
   1.113 +CT_ARCH_FLOAT_HW=y
   1.114 +# CT_ARCH_FLOAT_SW is not set
   1.115 +CT_TARGET_CFLAGS=""
   1.116 +CT_TARGET_LDFLAGS=""
   1.117 +
   1.118 +#
   1.119 +# General target options
   1.120 +#
   1.121 +# CT_ARCH_alpha is not set
   1.122 +# CT_ARCH_arm is not set
   1.123 +# CT_ARCH_avr32 is not set
   1.124 +# CT_ARCH_blackfin is not set
   1.125 +# CT_ARCH_ia64 is not set
   1.126 +# CT_ARCH_m68k is not set
   1.127 +# CT_ARCH_mips is not set
   1.128 +# CT_ARCH_powerpc is not set
   1.129 +# CT_ARCH_s390 is not set
   1.130 +# CT_ARCH_sh is not set
   1.131 +CT_ARCH_x86=y
   1.132 +CT_ARCH_alpha_AVAILABLE=y
   1.133 +CT_ARCH_arm_AVAILABLE=y
   1.134 +CT_ARCH_avr32_AVAILABLE=y
   1.135 +CT_ARCH_blackfin_AVAILABLE=y
   1.136 +CT_ARCH_ia64_AVAILABLE=y
   1.137 +CT_ARCH_m68k_AVAILABLE=y
   1.138 +CT_ARCH_mips_AVAILABLE=y
   1.139 +CT_ARCH_powerpc_AVAILABLE=y
   1.140 +CT_ARCH_s390_AVAILABLE=y
   1.141 +CT_ARCH_sh_AVAILABLE=y
   1.142 +CT_ARCH_x86_AVAILABLE=y
   1.143 +CT_ARCH_USE_MMU=y
   1.144 +
   1.145 +#
   1.146 +# Target optimisations
   1.147 +#
   1.148 +
   1.149 +#
   1.150 +# Toolchain options
   1.151 +#
   1.152 +
   1.153 +#
   1.154 +# General toolchain options
   1.155 +#
   1.156 +# CT_USE_SYSROOT is not set
   1.157 +
   1.158 +#
   1.159 +# Tuple completion and aliasing
   1.160 +#
   1.161 +CT_TARGET_VENDOR="pc"
   1.162 +CT_TARGET_ALIAS_SED_EXPR=""
   1.163 +CT_TARGET_ALIAS=""
   1.164 +
   1.165 +#
   1.166 +# Toolchain type
   1.167 +#
   1.168 +# CT_NATIVE is not set
   1.169 +CT_CROSS=y
   1.170 +# CT_CROSS_NATIVE is not set
   1.171 +# CT_CANADIAN is not set
   1.172 +CT_TOOLCHAIN_TYPE="cross"
   1.173 +
   1.174 +#
   1.175 +# Build system
   1.176 +#
   1.177 +CT_BUILD=""
   1.178 +CT_BUILD_PREFIX=""
   1.179 +CT_BUILD_SUFFIX=""
   1.180 +
   1.181 +#
   1.182 +# Operating System
   1.183 +#
   1.184 +# CT_BARE_METAL is not set
   1.185 +CT_MINGW32=y
   1.186 +# CT_KERNEL_SUPPORTS_SHARED_LIBS is not set
   1.187 +CT_KERNEL="mingw32"
   1.188 +# CT_KERNEL_bare_metal is not set
   1.189 +# CT_KERNEL_linux is not set
   1.190 +CT_KERNEL_mingw32=y
   1.191 +CT_KERNEL_bare_metal_AVAILABLE=y
   1.192 +CT_KERNEL_linux_AVAILABLE=y
   1.193 +CT_KERNEL_mingw32_AVAILABLE=y
   1.194 +CT_W32API_V_3_14=y
   1.195 +# CT_W32API_V_select is not set
   1.196 +CT_W32API_VERSION="3.14"
   1.197 +
   1.198 +#
   1.199 +# Common kernel options
   1.200 +#
   1.201 +
   1.202 +#
   1.203 +# Binary utilities
   1.204 +#
   1.205 +CT_ARCH_BINFMT_ELF=y
   1.206 +# CT_ARCH_BINFMT_FLAT is not set
   1.207 +# CT_ARCH_BINFMT_FDPIC is not set
   1.208 +
   1.209 +#
   1.210 +# GNU binutils
   1.211 +#
   1.212 +# CT_BINUTILS_V_2_20_1 is not set
   1.213 +# CT_BINUTILS_V_2_20 is not set
   1.214 +CT_BINUTILS_V_2_19_1=y
   1.215 +# CT_BINUTILS_V_2_19 is not set
   1.216 +# CT_BINUTILS_V_2_18 is not set
   1.217 +# CT_BINUTILS_V_2_17 is not set
   1.218 +# CT_BINUTILS_V_2_16_1 is not set
   1.219 +CT_BINUTILS_VERSION="2.19.1"
   1.220 +CT_BINUTILS_EXTRA_CONFIG=""
   1.221 +# CT_BINUTILS_FOR_TARGET is not set
   1.222 +
   1.223 +#
   1.224 +# sstrip
   1.225 +#
   1.226 +# CT_SSTRIP is not set
   1.227 +
   1.228 +#
   1.229 +# C compiler
   1.230 +#
   1.231 +CT_CC="gcc"
   1.232 +CT_CC_VERSION="4.3.2"
   1.233 +CT_CC_gcc=y
   1.234 +# CT_CC_V_4_5_0 is not set
   1.235 +# CT_CC_V_4_4_4 is not set
   1.236 +# CT_CC_V_4_4_3 is not set
   1.237 +# CT_CC_V_4_4_2 is not set
   1.238 +# CT_CC_V_4_4_1 is not set
   1.239 +# CT_CC_V_4_4_0 is not set
   1.240 +# CT_CC_V_4_3_4 is not set
   1.241 +# CT_CC_V_4_3_3 is not set
   1.242 +CT_CC_V_4_3_2=y
   1.243 +# CT_CC_V_4_3_1 is not set
   1.244 +# CT_CC_V_4_2_4 is not set
   1.245 +# CT_CC_V_4_2_3 is not set
   1.246 +# CT_CC_V_4_2_2 is not set
   1.247 +# CT_CC_V_4_2_1 is not set
   1.248 +# CT_CC_V_4_2_0 is not set
   1.249 +# CT_CC_V_4_1_2 is not set
   1.250 +# CT_CC_V_4_0_4 is not set
   1.251 +# CT_CC_V_3_4_6 is not set
   1.252 +CT_CC_GCC_4_2_or_later=y
   1.253 +CT_CC_GCC_4_3_or_later=y
   1.254 +# CT_CC_GCC_4_4_or_later is not set
   1.255 +# CT_CC_GCC_4_5_or_later is not set
   1.256 +CT_CC_GCC_USE_GMP_MPFR=y
   1.257 +# CT_CC_GCC_USE_PPL_CLOOG is not set
   1.258 +# CT_CC_GCC_USE_MPC_LIBELF is not set
   1.259 +CT_CC_CXA_ATEXIT=y
   1.260 +CT_CC_SJLJ_EXCEPTIONS_CONFIGURE=y
   1.261 +# CT_CC_SJLJ_EXCEPTIONS_USE is not set
   1.262 +# CT_CC_SJLJ_EXCEPTIONS_DONT_USE is not set
   1.263 +CT_CC_ENABLE_CXX_FLAGS=""
   1.264 +CT_CC_CORE_EXTRA_CONFIG=""
   1.265 +CT_CC_EXTRA_CONFIG=""
   1.266 +CT_CC_GCC_ENABLE_TARGET_OPTSPACE=y
   1.267 +# CT_CC_GCC_DISABLE_PCH is not set
   1.268 +CT_CC_PKGVERSION="crosstool-NG-${CT_VERSION}"
   1.269 +CT_CC_BUGURL=""
   1.270 +CT_CC_SUPPORT_CXX=y
   1.271 +CT_CC_SUPPORT_FORTRAN=y
   1.272 +CT_CC_SUPPORT_JAVA=y
   1.273 +CT_CC_SUPPORT_ADA=y
   1.274 +CT_CC_SUPPORT_OBJC=y
   1.275 +CT_CC_SUPPORT_OBJCXX=y
   1.276 +
   1.277 +#
   1.278 +# Additional supported languages:
   1.279 +#
   1.280 +CT_CC_LANG_CXX=y
   1.281 +# CT_CC_LANG_FORTRAN is not set
   1.282 +# CT_CC_LANG_JAVA is not set
   1.283 +
   1.284 +#
   1.285 +# C-library
   1.286 +#
   1.287 +CT_LIBC="mingw"
   1.288 +# CT_LIBC_eglibc is not set
   1.289 +# CT_LIBC_glibc is not set
   1.290 +CT_LIBC_mingw=y
   1.291 +# CT_LIBC_newlib is not set
   1.292 +# CT_LIBC_none is not set
   1.293 +# CT_LIBC_uClibc is not set
   1.294 +CT_LIBC_eglibc_AVAILABLE=y
   1.295 +CT_LIBC_glibc_AVAILABLE=y
   1.296 +CT_LIBC_mingw_AVAILABLE=y
   1.297 +CT_MINGWRT_V_3_18=y
   1.298 +# CT_MINGWRT_V_select is not set
   1.299 +CT_MINGWRT_VERSION="3.18"
   1.300 +CT_LIBC_newlib_AVAILABLE=y
   1.301 +CT_LIBC_none_AVAILABLE=y
   1.302 +CT_LIBC_uClibc_AVAILABLE=y
   1.303 +CT_LIBC_SUPPORT_THREADS_ANY=y
   1.304 +# CT_LIBC_SUPPORT_NPTL is not set
   1.305 +# CT_LIBC_SUPPORT_LINUXTHREADS is not set
   1.306 +CT_LIBC_SUPPORT_WIN32THREADS=y
   1.307 +CT_THREADS="win32"
   1.308 +
   1.309 +#
   1.310 +# Common C library options
   1.311 +#
   1.312 +# CT_THREADS_NPTL is not set
   1.313 +# CT_THREADS_LINUXTHREADS is not set
   1.314 +CT_THREADS_WIN32THREADS=y
   1.315 +# CT_THREADS_NONE is not set
   1.316 +
   1.317 +#
   1.318 +# mingw other options
   1.319 +#
   1.320 +CT_MINGW_DIRECTX=y
   1.321 +CT_MINGW_OPENGL=y
   1.322 +CT_MINGW_PDCURSES=y
   1.323 +CT_MINGW_PDCURSES_V_3_4=y
   1.324 +# CT_MINGW_PDCURSES_V_select is not set
   1.325 +CT_MINGW_PDCURSES_VERSION="3.4"
   1.326 +CT_MINGW_GNURX=y
   1.327 +CT_MINGW_GNURX_V_2_5_1=y
   1.328 +# CT_MINGW_GNURX_V_select is not set
   1.329 +CT_MINGW_GNURX_VERSION="2.5.1"
   1.330 +
   1.331 +#
   1.332 +# Debug facilities
   1.333 +#
   1.334 +# CT_DEBUG_dmalloc is not set
   1.335 +# CT_DEBUG_duma is not set
   1.336 +# CT_DEBUG_gdb is not set
   1.337 +# CT_DEBUG_ltrace is not set
   1.338 +# CT_DEBUG_strace is not set
   1.339 +
   1.340 +#
   1.341 +# Companion libraries
   1.342 +#
   1.343 +
   1.344 +#
   1.345 +# FIXME: check real dependencies!!!
   1.346 +#
   1.347 +CT_COMPLIBS=y
   1.348 +# CT_WRAPPER_NEEDED is not set
   1.349 +CT_GMP=y
   1.350 +CT_MPFR=y
   1.351 +# CT_GMP_V_5_0_1 is not set
   1.352 +CT_GMP_V_4_3_2=y
   1.353 +# CT_GMP_V_4_3_1 is not set
   1.354 +# CT_GMP_V_4_3_0 is not set
   1.355 +# CT_GMP_V_4_2_4 is not set
   1.356 +# CT_GMP_V_4_2_2 is not set
   1.357 +CT_GMP_VERSION="4.3.2"
   1.358 +# CT_MPFR_V_3_0_0 is not set
   1.359 +# CT_MPFR_V_2_4_2 is not set
   1.360 +CT_MPFR_V_2_4_1=y
   1.361 +# CT_MPFR_V_2_4_0 is not set
   1.362 +# CT_MPFR_V_2_3_2 is not set
   1.363 +# CT_MPFR_V_2_3_1 is not set
   1.364 +CT_MPFR_VERSION="2.4.1"
   1.365 +
   1.366 +#
   1.367 +# Companion libraries common options
   1.368 +#
   1.369 +# CT_COMPLIBS_CHECK is not set
   1.370 +# CT_COMPLIBS_SHARED is not set
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/samples/i686-pc-mingw32/reported.by	Sun Jul 11 21:37:29 2010 +0200
     2.3 @@ -0,0 +1,3 @@
     2.4 +reporter_name="Bart vdr. Meulen <bartvdrmeulen@gmail.com>"
     2.5 +reporter_url=""
     2.6 +reporter_comment="Config to build cross-compiler with mingw as kernel type"