Advertisement
class101

http://goo.gl/miqX5L

Jan 14th, 2014
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 18.99 KB | None | 0 0
  1. Index: build.sh
  2. ===================================================================
  3. --- build.sh    (revision 115)
  4. +++ build.sh    (working copy)
  5. @@ -75,7 +75,7 @@
  6.  BUILD_DEBUGGABLE_linux="no"
  7.  
  8.  BUILD_DEBUGGERS_darwin="yes"
  9. -BUILD_DEBUGGERS_windows="no"
  10. +BUILD_DEBUGGERS_windows="yes"
  11.  BUILD_DEBUGGERS_linux="yes"
  12.  
  13.  # Could try the dlfcn_win32 project for Windows support.
  14. @@ -702,12 +702,12 @@
  15.      [ -d "${HOME}"/src ] || mkdir "${HOME}"/src
  16.      [ -d crosstool-ng ] ||
  17.       (
  18. -      git clone https://github.com/diorcety/crosstool-ng.git
  19. +      svn checkout https://github.com/diorcety/crosstool-ng/trunk ./crosstool-ng
  20.        pushd crosstool-ng
  21.        if [ -d "${THISDIR}/patches/crosstool-ng" ]; then
  22.          PATCHES=$(find "${THISDIR}/patches/crosstool-ng" -name "*.patch" | sort)
  23.          for PATCH in $PATCHES; do
  24. -          git am $PATCH
  25. +          svn patch $PATCH
  26.  #           patch -p1 < $PATCH
  27.          done
  28.        fi
  29. @@ -757,7 +757,7 @@
  30.      else
  31.        echo "CT_BINUTILS_binutils=y"            >> ${CTNG_SAMPLE_CONFIG}
  32.        echo "CT_BINUTILS_V_${BINUTILS_VERS_}=y" >> ${CTNG_SAMPLE_CONFIG}
  33. -      echo "CT_BINUTILS_FOR_TARGET=y"          >> ${CTNG_SAMPLE_CONFIG}
  34. +      #echo "CT_BINUTILS_FOR_TARGET=y"          >> ${CTNG_SAMPLE_CONFIG}
  35.        # The following may only work correctly for non-cross builds, but
  36.        # actually it's in GCC that PLUGINS are likely to fail with cross.
  37.        if [ "$STATIC_TOOLCHAIN" = "no" -a "$GNU_PLUGINS" = "yes" ]; then
  38. @@ -772,8 +772,8 @@
  39.        echo "CT_CC_GCC_V_${GCC_VERS_}=y"        >> ${CTNG_SAMPLE_CONFIG}
  40.        echo "CT_CC_LANG_CXX=y"                  >> ${CTNG_SAMPLE_CONFIG}
  41.        echo "CT_CC_LANG_CXX=y"                  >> ${CTNG_SAMPLE_CONFIG}
  42. -      echo "CT_CC_LANG_OBJC=y"                 >> ${CTNG_SAMPLE_CONFIG}
  43. -      echo "CT_CC_LANG_OBJCXX=y"               >> ${CTNG_SAMPLE_CONFIG}
  44. +      echo "CT_CC_LANG_OBJC=n"                 >> ${CTNG_SAMPLE_CONFIG}
  45. +      echo "CT_CC_LANG_OBJCXX=n"               >> ${CTNG_SAMPLE_CONFIG}
  46.        if [ "$STATIC_TOOLCHAIN" = "no" -a "$GNU_PLUGINS" = "yes" ]; then
  47.          echo "CT_CC_GCC_ENABLE_PLUGINS=y"      >> ${CTNG_SAMPLE_CONFIG}
  48.        else
  49. @@ -785,7 +785,7 @@
  50.  
  51.      if [ ! "$LLVM_VERSION" = "none" ]; then
  52.        echo "CT_LLVM_V_${LLVM_VERS_}=y"         >> ${CTNG_SAMPLE_CONFIG}
  53. -      echo "CT_CC_clang=y"                     >> ${CTNG_SAMPLE_CONFIG}
  54. +      echo "CT_CC_clang=n"                     >> ${CTNG_SAMPLE_CONFIG}
  55.        if [ "$COMPILER_RT" = "yes" ]; then
  56.          echo "CT_LLVM_COMPILER_RT=y"           >> ${CTNG_SAMPLE_CONFIG}
  57.        else
  58. @@ -806,11 +806,11 @@
  59.      # Gettext fails to build on Windows at -O0. One of the patches:
  60.      # gettext/0.18.3.1/120-Fix-Woe32-link-errors-when-compiling-with-O0.patch
  61.      # .. should have fixed this but it still doesn't work ..)
  62. -    if [ "$CTNG_DEBUGGABLE" = "yes" ]; then
  63. -      echo "CT_DEBUGGABLE_TOOLCHAIN=y"     >> ${CTNG_SAMPLE_CONFIG}
  64. -    else
  65. -      echo "CT_DEBUGGABLE_TOOLCHAIN=n"     >> ${CTNG_SAMPLE_CONFIG}
  66. -    fi
  67. +    #if [ "$CTNG_DEBUGGABLE" = "yes" ]; then
  68. +    #  echo "CT_DEBUGGABLE_TOOLCHAIN=y"     >> ${CTNG_SAMPLE_CONFIG}
  69. +    #else
  70. +    #  echo "CT_DEBUGGABLE_TOOLCHAIN=n"     >> ${CTNG_SAMPLE_CONFIG}
  71. +    #fi
  72.  
  73.      if [ "$CTNG_SAVE_STEPS" = "yes" ]; then
  74.        echo "CT_DEBUG_CT=y"                 >> ${CTNG_SAMPLE_CONFIG}
  75. @@ -834,15 +834,15 @@
  76.        echo "CT_GDB_V_7_6_1=y"              >> ${CTNG_SAMPLE_CONFIG}
  77.      fi
  78.  
  79. -    if [ "$STATIC_TOOLCHAIN" = "no" ]; then
  80. -      echo "CT_WANTS_STATIC_LINK=n"        >> ${CTNG_SAMPLE_CONFIG}
  81. -      echo "CT_STATIC_TOOLCHAIN=n"         >> ${CTNG_SAMPLE_CONFIG}
  82. -      echo "CT_CC_GCC_STATIC_LIBSTDCXX=n"  >> ${CTNG_SAMPLE_CONFIG}
  83. -    else
  84. -      echo "CT_WANTS_STATIC_LINK=y"        >> ${CTNG_SAMPLE_CONFIG}
  85. -      echo "CT_STATIC_TOOLCHAIN=y"         >> ${CTNG_SAMPLE_CONFIG}
  86. -      echo "CT_CC_GCC_STATIC_LIBSTDCXX=y"  >> ${CTNG_SAMPLE_CONFIG}
  87. -    fi
  88. +    #if [ "$STATIC_TOOLCHAIN" = "no" ]; then
  89. +    #  echo "CT_WANTS_STATIC_LINK=n"        >> ${CTNG_SAMPLE_CONFIG}
  90. +    #  echo "CT_STATIC_TOOLCHAIN=n"         >> ${CTNG_SAMPLE_CONFIG}
  91. +    #  echo "CT_CC_GCC_STATIC_LIBSTDCXX=n"  >> ${CTNG_SAMPLE_CONFIG}
  92. +    #else
  93. +    #  echo "CT_WANTS_STATIC_LINK=y"        >> ${CTNG_SAMPLE_CONFIG}
  94. +    #  echo "CT_STATIC_TOOLCHAIN=y"         >> ${CTNG_SAMPLE_CONFIG}
  95. +    #  echo "CT_CC_GCC_STATIC_LIBSTDCXX=y"  >> ${CTNG_SAMPLE_CONFIG}
  96. +    #fi
  97.      echo "CT_PREFIX_DIR=\"${BUILT_XCOMPILER_PREFIX}\""  >> ${CTNG_SAMPLE_CONFIG}
  98.      echo "CT_INSTALL_DIR=\"${BUILT_XCOMPILER_PREFIX}\"" >> ${CTNG_SAMPLE_CONFIG}
  99.  
  100. @@ -977,13 +977,13 @@
  101.    # Avoid over-long build paths on Windows, a real-world example:
  102.    # echo "C:/msys64/home/ray/ctng-firefox-builds/ctng-build-x-r-HEAD-x86_64-235295c4/.build/armv6hl-unknown-linux-gnueabi/build/build-gettext-build-x86_64-build_w64-mingw32/gettext-tools/gnulib-lib/.libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-additional-sel.o" | wc -c
  103.    # 263.
  104. -  BUILDDIR=/c/ctng-build-${STUB}-${BUILD_PREFIX}
  105. +  BUILDDIR=/root/tmp/windows-build
  106.  else
  107. -  BUILDDIR=ctng-build-${STUB}-${BUILD_PREFIX}
  108. +  BUILDDIR=/root/tmp/windows-build
  109.  fi
  110. -BUILDDIR=/c/ctng-build-${STUB}-${BUILD_PREFIX}
  111. +BUILDDIR=/root/tmp/windows-build
  112.  INTALLDIR=ctng-install-${STUB}-${BUILD_PREFIX}
  113. -BUILT_XCOMPILER_PREFIX=$PWD/${STUB}-${BUILD_PREFIX}
  114. +BUILT_XCOMPILER_PREFIX=/root/gcc-4.8.2-i686-unknown-mingw32
  115.  
  116.  ROOT=$PWD
  117.  download_sdk
  118. Index: crosstool-ng.configs/crosstool.config.windows.32
  119. ===================================================================
  120. --- crosstool-ng.configs/crosstool.config.windows.32    (revision 115)
  121. +++ crosstool-ng.configs/crosstool.config.windows.32    (working copy)
  122. @@ -1,15 +1,505 @@
  123. +#
  124. +# Automatically generated make config: don't edit
  125. +# crosstool-NG hg+unknown-20140113.115158 Configuration
  126. +# Mon Jan 13 13:24:07 2014
  127. +#
  128. +CT_CONFIGURE_has_xz=y
  129. +CT_CONFIGURE_has_svn=y
  130. +CT_MODULES=y
  131. +
  132. +#
  133. +# Paths and misc options
  134. +#
  135. +
  136. +#
  137. +# crosstool-NG behavior
  138. +#
  139. +CT_OBSOLETE=y
  140.  CT_EXPERIMENTAL=y
  141. -CT_LOCAL_TARBALLS_DIR="${HOME}/src"
  142. -CT_SAVE_TARBALLS=y
  143. +# CT_ALLOW_BUILD_AS_ROOT is not set
  144. +# CT_EXPORT_BUILD_TOOLS is not set
  145. +CT_SRC_REFERENCE_DATETIME=""
  146. +CT_DEBUG_CT=y
  147. +# CT_DEBUG_PAUSE_STEPS is not set
  148. +CT_DEBUG_CT_SAVE_STEPS=y
  149. +CT_DEBUG_CT_SAVE_STEPS_GZIP=y
  150. +# CT_NO_OVERIDE_LC_MESSAGES is not set
  151. +CT_DEBUG_INTERACTIVE=y
  152. +
  153. +#
  154. +# Paths
  155. +#
  156. +CT_LOCAL_TARBALLS_DIR=""
  157. +CT_CUSTOM_LOCATION_ROOT_DIR=""
  158. +CT_WORK_DIR="${CT_TOP_DIR}/.build"
  159. +CT_PREFIX_DIR="/root/gcc-4.8.2-i686-unknown-mingw32"
  160. +CT_INSTALL_DIR="${CT_PREFIX_DIR}"
  161. +CT_RM_RF_PREFIX_DIR=y
  162. +CT_REMOVE_DOCS=y
  163. +CT_INSTALL_DIR_RO=y
  164. +# CT_STRIP_ALL_TOOLCHAIN_EXECUTABLES is not set
  165. +
  166. +#
  167. +# Downloading
  168. +#
  169. +# CT_FORBID_DOWNLOAD is not set
  170. +# CT_FORCE_DOWNLOAD is not set
  171. +CT_CONNECT_TIMEOUT=10
  172. +# CT_ONLY_DOWNLOAD is not set
  173. +# CT_USE_MIRROR is not set
  174. +
  175. +#
  176. +# Extracting
  177. +#
  178. +# CT_FORCE_EXTRACT is not set
  179. +CT_OVERIDE_CONFIG_GUESS_SUB=y
  180. +# CT_ONLY_EXTRACT is not set
  181. +CT_PATCH_BUNDLED=y
  182. +# CT_PATCH_LOCAL is not set
  183. +# CT_PATCH_BUNDLED_LOCAL is not set
  184. +# CT_PATCH_LOCAL_BUNDLED is not set
  185. +# CT_PATCH_BUNDLED_FALLBACK_LOCAL is not set
  186. +# CT_PATCH_LOCAL_FALLBACK_BUNDLED is not set
  187. +# CT_PATCH_NONE is not set
  188. +CT_PATCH_ORDER="bundled"
  189. +
  190. +#
  191. +# Build behavior
  192. +#
  193. +CT_PARALLEL_JOBS=40
  194. +CT_PARALLEL_JOBS_OUTPUT_SYNC=""
  195. +CT_LOAD=""
  196. +CT_USE_PIPES=y
  197. +CT_EXTRA_CFLAGS_FOR_BUILD="-m32"
  198. +CT_EXTRA_LDFLAGS_FOR_BUILD="-m32"
  199. +CT_EXTRA_CFLAGS_FOR_HOST="-m32"
  200. +CT_EXTRA_LDFLAGS_FOR_HOST="-m32"
  201. +# CT_CONFIG_SHELL_SH is not set
  202. +# CT_CONFIG_SHELL_ASH is not set
  203. +CT_CONFIG_SHELL_BASH=y
  204. +# CT_CONFIG_SHELL_CUSTOM is not set
  205. +CT_CONFIG_SHELL="${bash}"
  206. +
  207. +#
  208. +# Logging
  209. +#
  210. +# CT_LOG_ERROR is not set
  211. +# CT_LOG_WARN is not set
  212. +# CT_LOG_INFO is not set
  213.  CT_LOG_EXTRA=y
  214. -CT_ARCH_64=n
  215. +# CT_LOG_ALL is not set
  216. +# CT_LOG_DEBUG is not set
  217. +CT_LOG_LEVEL_MAX="EXTRA"
  218. +# CT_LOG_SEE_TOOLS_WARN is not set
  219. +CT_LOG_PROGRESS_BAR=y
  220. +CT_LOG_TO_FILE=y
  221. +CT_LOG_FILE_COMPRESS=y
  222. +
  223. +#
  224. +# Target options
  225. +#
  226. +CT_ARCH="x86"
  227. +CT_ARCH_SUPPORTS_32=y
  228. +CT_ARCH_SUPPORTS_64=y
  229. +CT_ARCH_SUPPORTS_WITH_ARCH=y
  230. +CT_ARCH_SUPPORTS_WITH_CPU=y
  231. +CT_ARCH_SUPPORTS_WITH_TUNE=y
  232. +CT_ARCH_DEFAULT_32=y
  233. +CT_ARCH_ARCH="i686"
  234. +CT_ARCH_CPU=""
  235. +CT_ARCH_TUNE=""
  236. +CT_ARCH_32=y
  237. +# CT_ARCH_64 is not set
  238. +CT_ARCH_BITNESS=32
  239. +CT_TARGET_CFLAGS=""
  240. +CT_TARGET_LDFLAGS=""
  241. +# CT_ARCH_blackfin is not set
  242. +# CT_ARCH_microblaze is not set
  243. +# CT_ARCH_alpha is not set
  244. +# CT_ARCH_m68k is not set
  245. +# CT_ARCH_s390 is not set
  246. +# CT_ARCH_powerpc is not set
  247. +# CT_ARCH_sparc is not set
  248. +# CT_ARCH_mips is not set
  249. +# CT_ARCH_avr32 is not set
  250. +# CT_ARCH_sh is not set
  251.  CT_ARCH_x86=y
  252. +# CT_ARCH_arm is not set
  253. +CT_ARCH_blackfin_AVAILABLE=y
  254. +CT_ARCH_microblaze_AVAILABLE=y
  255. +CT_ARCH_alpha_AVAILABLE=y
  256. +CT_ARCH_m68k_AVAILABLE=y
  257. +CT_ARCH_s390_AVAILABLE=y
  258. +CT_ARCH_powerpc_AVAILABLE=y
  259. +CT_ARCH_sparc_AVAILABLE=y
  260. +CT_ARCH_mips_AVAILABLE=y
  261. +CT_ARCH_avr32_AVAILABLE=y
  262. +CT_ARCH_sh_AVAILABLE=y
  263. +CT_ARCH_x86_AVAILABLE=y
  264. +CT_ARCH_arm_AVAILABLE=y
  265. +CT_ARCH_SUFFIX=""
  266. +
  267. +#
  268. +# Generic target options
  269. +#
  270. +# CT_MULTILIB is not set
  271. +CT_ARCH_USE_MMU=y
  272. +
  273. +#
  274. +# Target optimisations
  275. +#
  276. +CT_ARCH_FLOAT=""
  277. +
  278. +#
  279. +# Toolchain options
  280. +#
  281. +
  282. +#
  283. +# General toolchain options
  284. +#
  285. +CT_USE_SYSROOT=y
  286. +CT_SYSROOT_NAME="sysroot"
  287. +CT_SYSROOT_DIR_PREFIX=""
  288. +# CT_STATIC_TOOLCHAIN is not set
  289. +# CT_DEBUGGABLE_TOOLCHAIN is not set
  290. +CT_TOOLCHAIN_PKGVERSION=""
  291. +CT_TOOLCHAIN_BUGURL=""
  292. +
  293. +#
  294. +# Tuple completion and aliasing
  295. +#
  296. +CT_TARGET_VENDOR="unknown"
  297. +CT_TARGET_ALIAS_SED_EXPR=""
  298. +CT_TARGET_ALIAS=""
  299. +
  300. +#
  301. +# Toolchain type
  302. +#
  303. +# CT_NATIVE is not set
  304. +CT_CROSS=y
  305. +# CT_CROSS_NATIVE is not set
  306. +# CT_CANADIAN is not set
  307. +CT_TOOLCHAIN_TYPE="cross"
  308. +
  309. +#
  310. +# Build system
  311. +#
  312. +CT_BUILD="i686-w64-mingw32"
  313. +CT_BUILD_PREFIX=""
  314. +CT_BUILD_SUFFIX=""
  315. +
  316. +#
  317. +# Misc options
  318. +#
  319. +# CT_TOOLCHAIN_ENABLE_NLS is not set
  320. +
  321. +#
  322. +# Operating System
  323. +#
  324. +CT_WINDOWS=y
  325. +CT_KERNEL="windows"
  326. +# CT_KERNEL_linux is not set
  327.  CT_KERNEL_windows=y
  328. +# CT_KERNEL_darwin is not set
  329. +# CT_KERNEL_bare_metal is not set
  330. +CT_KERNEL_linux_AVAILABLE=y
  331. +CT_KERNEL_windows_AVAILABLE=y
  332. +CT_KERNEL_darwin_AVAILABLE=y
  333. +CT_KERNEL_bare_metal_AVAILABLE=y
  334. +
  335. +#
  336. +# Common kernel options
  337. +#
  338. +
  339. +#
  340. +# Binary utilities
  341. +#
  342. +CT_ARCH_BINFMT_ELF=y
  343. +CT_BINUTILS="binutils"
  344. +CT_BINUTILS_binutils=y
  345. +CT_BINUTILS_VERSION="2.24"
  346. +
  347. +#
  348. +# GNU binutils
  349. +#
  350. +CT_BINUTILS_V_2_24=y
  351. +# CT_BINUTILS_V_2_23_2 is not set
  352. +# CT_BINUTILS_V_2_23_1 is not set
  353. +# CT_BINUTILS_V_2_22 is not set
  354. +# CT_BINUTILS_V_2_21_53 is not set
  355. +# CT_BINUTILS_V_2_21_1a is not set
  356. +# CT_BINUTILS_V_2_20_1a is not set
  357. +# CT_BINUTILS_V_2_19_1a is not set
  358. +# CT_BINUTILS_V_2_18a is not set
  359. +# CT_BINUTILS_CUSTOM is not set
  360. +CT_BINUTILS_2_24_or_later=y
  361. +CT_BINUTILS_2_23_or_later=y
  362. +CT_BINUTILS_2_22_or_later=y
  363. +CT_BINUTILS_2_21_or_later=y
  364. +CT_BINUTILS_2_20_or_later=y
  365. +CT_BINUTILS_2_19_or_later=y
  366. +CT_BINUTILS_2_18_or_later=y
  367. +CT_BINUTILS_HAS_HASH_STYLE=y
  368. +CT_BINUTILS_HAS_GOLD=y
  369. +CT_BINUTILS_GOLD_SUPPORTS_ARCH=y
  370. +CT_BINUTILS_HAS_PLUGINS=y
  371. +CT_BINUTILS_HAS_PKGVERSION_BUGURL=y
  372. +CT_BINUTILS_LINKER_LD=y
  373. +# CT_BINUTILS_LINKER_GOLD is not set
  374. +# CT_BINUTILS_LINKER_LD_GOLD is not set
  375. +# CT_BINUTILS_LINKER_GOLD_LD is not set
  376. +CT_BINUTILS_LINKERS_LIST="ld"
  377. +CT_BINUTILS_LINKER_DEFAULT="bfd"
  378. +# CT_BINUTILS_PLUGINS is not set
  379. +CT_BINUTILS_EXTRA_CONFIG_ARRAY=""
  380. +# CT_BINUTILS_FOR_TARGET is not set
  381. +
  382. +#
  383. +# binutils other options
  384. +#
  385. +
  386. +#
  387. +# C compiler
  388. +#
  389. +CT_CC="gcc"
  390. +CT_CC_CORE_PASSES_NEEDED=y
  391. +CT_CC_gcc=y
  392. +# CT_CC_GCC_SHOW_LINARO is not set
  393. +CT_CC_GCC_V_4_8_2=y
  394. +# CT_CC_GCC_V_4_8_1 is not set
  395. +# CT_CC_GCC_V_4_8_0 is not set
  396. +# CT_CC_GCC_V_4_7_3 is not set
  397. +# CT_CC_GCC_V_4_7_2 is not set
  398. +# CT_CC_GCC_V_4_7_1 is not set
  399. +# CT_CC_GCC_V_4_7_0 is not set
  400. +# CT_CC_GCC_V_4_6_4 is not set
  401. +# CT_CC_GCC_V_4_6_3 is not set
  402. +# CT_CC_GCC_V_4_6_2 is not set
  403. +# CT_CC_GCC_V_4_6_1 is not set
  404. +# CT_CC_GCC_V_4_6_0 is not set
  405. +# CT_CC_GCC_V_4_5_3 is not set
  406. +# CT_CC_GCC_V_4_5_2 is not set
  407. +# CT_CC_GCC_V_4_5_1 is not set
  408. +# CT_CC_GCC_V_4_5_0 is not set
  409. +# CT_CC_GCC_V_4_4_7 is not set
  410. +# CT_CC_GCC_V_4_4_6 is not set
  411. +# CT_CC_GCC_V_4_4_5 is not set
  412. +# CT_CC_GCC_V_4_4_4 is not set
  413. +# CT_CC_GCC_V_4_4_3 is not set
  414. +# CT_CC_GCC_V_4_4_2 is not set
  415. +# CT_CC_GCC_V_4_4_1 is not set
  416. +# CT_CC_GCC_V_4_4_0 is not set
  417. +# CT_CC_GCC_V_4_3_6 is not set
  418. +# CT_CC_GCC_V_4_3_5 is not set
  419. +# CT_CC_GCC_V_4_3_4 is not set
  420. +# CT_CC_GCC_V_4_3_3 is not set
  421. +# CT_CC_GCC_V_4_3_2 is not set
  422. +# CT_CC_GCC_V_4_3_1 is not set
  423. +# CT_CC_GCC_V_4_2_4 is not set
  424. +# CT_CC_GCC_V_4_2_2 is not set
  425. +# CT_CC_GCC_V_4_1_2 is not set
  426. +# CT_CC_GCC_V_4_0_4 is not set
  427. +# CT_CC_GCC_V_3_4_6 is not set
  428. +# CT_CC_GCC_CUSTOM is not set
  429. +CT_CC_GCC_4_2_or_later=y
  430. +CT_CC_GCC_4_3_or_later=y
  431. +CT_CC_GCC_4_4_or_later=y
  432. +CT_CC_GCC_4_5_or_later=y
  433. +CT_CC_GCC_4_6_or_later=y
  434. +CT_CC_GCC_4_7_or_later=y
  435. +CT_CC_GCC_4_8=y
  436. +CT_CC_GCC_4_8_or_later=y
  437. +CT_CC_GCC_HAS_GRAPHITE=y
  438. +CT_CC_GCC_USE_GRAPHITE=y
  439. +CT_CC_GCC_HAS_LTO=y
  440. +# CT_CC_GCC_USE_LTO is not set
  441. +CT_CC_GCC_HAS_PKGVERSION_BUGURL=y
  442. +CT_CC_GCC_HAS_BUILD_ID=y
  443. +CT_CC_GCC_HAS_LNK_HASH_STYLE=y
  444. +CT_CC_GCC_USE_GMP_MPFR=y
  445. +CT_CC_GCC_USE_MPC=y
  446. +CT_CC_GCC_HAS_LIBQUADMATH=y
  447. +CT_CC_GCC_VERSION="4.8.2"
  448. +# CT_CC_LANG_FORTRAN is not set
  449. +CT_CC_GCC_ENABLE_CXX_FLAGS=""
  450. +CT_CC_GCC_CORE_EXTRA_CONFIG_ARRAY="--with-arch=nocona --with-tune=core2 --enable-dw2-exceptions --disable-sjlj-exceptions"
  451. +CT_CC_GCC_EXTRA_CONFIG_ARRAY="--with-arch=nocona --with-tune=core2 --enable-dw2-exceptions --disable-sjlj-exceptions"
  452. +# CT_CC_GCC_STATIC_LIBSTDCXX is not set
  453. +# CT_CC_GCC_SYSTEM_ZLIB is not set
  454. +
  455. +#
  456. +# Optimisation features
  457. +#
  458. +
  459. +#
  460. +# Settings for libraries running on target
  461. +#
  462. +CT_CC_GCC_ENABLE_TARGET_OPTSPACE=y
  463. +# CT_CC_GCC_LIBMUDFLAP is not set
  464. +# CT_CC_GCC_LIBGOMP is not set
  465. +# CT_CC_GCC_LIBSSP is not set
  466. +# CT_CC_GCC_LIBQUADMATH is not set
  467. +
  468. +#
  469. +# Misc. obscure options.
  470. +#
  471. +CT_CC_CXA_ATEXIT=y
  472. +# CT_CC_GCC_DISABLE_PCH is not set
  473. +CT_CC_GCC_SJLJ_EXCEPTIONS=m
  474. +CT_CC_GCC_LDBL_128=m
  475. +# CT_CC_GCC_BUILD_ID is not set
  476. +CT_CC_GCC_LNK_HASH_STYLE_DEFAULT=y
  477. +# CT_CC_GCC_LNK_HASH_STYLE_SYSV is not set
  478. +# CT_CC_GCC_LNK_HASH_STYLE_GNU is not set
  479. +# CT_CC_GCC_LNK_HASH_STYLE_BOTH is not set
  480. +CT_CC_GCC_LNK_HASH_STYLE=""
  481. +# CT_CC_clang is not set
  482. +# CT_CC_llvmgcc is not set
  483. +CT_CC_SUPPORT_CXX=y
  484. +CT_CC_SUPPORT_FORTRAN=y
  485. +CT_CC_SUPPORT_JAVA=y
  486. +CT_CC_SUPPORT_ADA=y
  487. +CT_CC_SUPPORT_OBJC=y
  488. +CT_CC_SUPPORT_OBJCXX=y
  489. +CT_CC_SUPPORT_GOLANG=y
  490. +
  491. +#
  492. +# Additional supported languages:
  493. +#
  494.  CT_CC_LANG_CXX=y
  495. -CT_MINGW_DIRECTX=y
  496. -CT_MINGW_DDK=y
  497. +# CT_CC_LANG_JAVA is not set
  498. +# CT_CC_LANG_ADA is not set
  499. +# CT_CC_LANG_OBJC is not set
  500. +# CT_CC_LANG_OBJCXX is not set
  501. +# CT_CC_LANG_GOLANG is not set
  502. +CT_CC_LANG_OTHERS=""
  503. +
  504. +#
  505. +# C-library
  506. +#
  507. +CT_LIBC="mingw"
  508. +CT_LIBC_mingw=y
  509. +CT_LIBC_eglibc_AVAILABLE=y
  510. +CT_LIBC_uClibc_AVAILABLE=y
  511. +CT_LIBC_newlib_AVAILABLE=y
  512. +CT_LIBC_glibc_AVAILABLE=y
  513. +CT_LIBC_mingw_AVAILABLE=y
  514. +# CT_WINAPI_V_2_0_8 is not set
  515. +# CT_WINAPI_V_2_0_7 is not set
  516. +CT_WINAPI_V_3_0_0=y
  517. +# CT_WINAPI_V_select is not set
  518. +CT_WINAPI_VERSION="3.0.0"
  519. +# CT_MINGW_DIRECTX is not set
  520. +# CT_MINGW_DDK is not set
  521. +CT_LIBC_none_AVAILABLE=y
  522. +CT_LIBC_SUPPORT_THREADS_ANY=y
  523. +CT_LIBC_SUPPORT_WIN32THREADS=y
  524. +CT_THREADS="win32"
  525. +
  526. +#
  527. +# Common C library options
  528. +#
  529. +CT_THREADS_WIN32THREADS=y
  530. +
  531. +#
  532. +# Debug facilities
  533. +#
  534. +# CT_DEBUG_strace is not set
  535. +# CT_DEBUG_dmalloc is not set
  536. +# CT_DEBUG_duma is not set
  537. +CT_DEBUG_gdb=y
  538. +CT_GDB_CROSS=y
  539. +# CT_GDB_CROSS_STATIC is not set
  540. +# CT_GDB_CROSS_SIM is not set
  541. +# CT_GDB_CROSS_PYTHON is not set
  542. +CT_GDB_CROSS_EXTRA_CONFIG_ARRAY=""
  543. +# CT_GDB_NATIVE is not set
  544. +CT_GDB_GDBSERVER=y
  545. +CT_GDB_GDBSERVER_HAS_IPA_LIB=y
  546. +CT_GDB_GDBSERVER_STATIC=y
  547. +
  548. +#
  549. +# gdb version
  550. +#
  551. +# CT_DEBUG_GDB_SHOW_LINARO is not set
  552. +CT_GDB_V_7_6_1=y
  553. +# CT_GDB_V_7_5_1 is not set
  554. +# CT_GDB_V_7_4_1 is not set
  555. +# CT_GDB_V_7_4 is not set
  556. +# CT_GDB_V_7_3_1 is not set
  557. +# CT_GDB_V_7_3a is not set
  558. +# CT_GDB_V_7_2a is not set
  559. +# CT_GDB_V_7_1a is not set
  560. +# CT_GDB_V_7_0_1a is not set
  561. +# CT_GDB_V_7_0a is not set
  562. +# CT_GDB_V_6_8a is not set
  563. +# CT_GDB_CUSTOM is not set
  564. +CT_GDB_7_2_or_later=y
  565. +CT_GDB_7_0_or_later=y
  566. +CT_GDB_HAS_PKGVERSION_BUGURL=y
  567. +CT_GDB_INSTALL_GDBINIT=y
  568. +CT_GDB_VERSION="7.6.1"
  569. +# CT_DEBUG_ltrace is not set
  570. +
  571. +#
  572. +# Companion libraries
  573. +#
  574. +CT_COMPLIBS_NEEDED=y
  575. +CT_GMP_NEEDED=y
  576. +CT_MPFR_NEEDED=y
  577. +CT_ISL_NEEDED=y
  578. +CT_CLOOG_NEEDED=y
  579. +CT_MPC_NEEDED=y
  580. +CT_COMPLIBS=y
  581. +CT_GMP=y
  582. +CT_MPFR=y
  583. +CT_ISL=y
  584. +CT_CLOOG=y
  585. +CT_MPC=y
  586.  CT_GMP_V_5_1_1=y
  587. +# CT_GMP_V_5_0_2 is not set
  588. +# CT_GMP_V_5_0_1 is not set
  589. +# CT_GMP_V_4_3_2 is not set
  590. +# CT_GMP_V_4_3_1 is not set
  591. +# CT_GMP_V_4_3_0 is not set
  592. +CT_GMP_VERSION="5.1.1"
  593.  CT_MPFR_V_3_1_2=y
  594. -CT_PPL_V_0_11_2=y
  595. +# CT_MPFR_V_3_1_0 is not set
  596. +# CT_MPFR_V_3_0_1 is not set
  597. +# CT_MPFR_V_3_0_0 is not set
  598. +# CT_MPFR_V_2_4_2 is not set
  599. +# CT_MPFR_V_2_4_1 is not set
  600. +# CT_MPFR_V_2_4_0 is not set
  601. +CT_MPFR_VERSION="3.1.2"
  602. +CT_ISL_V_0_11_1=y
  603. +# CT_ISL_V_0_12_1 is not set
  604. +CT_ISL_VERSION="0.11.1"
  605.  CT_CLOOG_V_0_18_0=y
  606. -CT_WINAPI_V_3_0_0=y
  607. +CT_CLOOG_VERSION="0.18.0"
  608. +CT_CLOOG_0_18_or_later=y
  609. +CT_MPC_V_1_0_1=y
  610. +# CT_MPC_V_1_0 is not set
  611. +# CT_MPC_V_0_9 is not set
  612. +# CT_MPC_V_0_8_2 is not set
  613. +# CT_MPC_V_0_8_1 is not set
  614. +# CT_MPC_V_0_7 is not set
  615. +CT_MPC_VERSION="1.0.1"
  616. +
  617. +#
  618. +# Companion libraries common options
  619. +#
  620. +# CT_COMPLIBS_CHECK is not set
  621. +
  622. +#
  623. +# Companion tools
  624. +#
  625. +
  626. +#
  627. +# READ HELP before you say 'Y' below !!!
  628. +#
  629. +# CT_COMP_TOOLS is not set
  630. +
  631. +#
  632. +# Test suite
  633. +#
  634. +# CT_TEST_SUITE_GCC is not set
  635. Index: mingw-w64-toolchain.sh
  636. ===================================================================
  637. --- mingw-w64-toolchain.sh  (revision 115)
  638. +++ mingw-w64-toolchain.sh  (working copy)
  639. @@ -56,14 +56,14 @@
  640.    local MINGW_GCC_EXC_VAR64=sjlj
  641.    local MINGW_GCC_EXC_THREADS=win32
  642.    local MINGW_SF_URL="http://sourceforge.net/projects/mingw-w64/files"
  643. -  local   MINGW_GCC_VER32=i686-${MINGW_GCC_SRC_VER}-release-${MINGW_GCC_EXC_THREADS}-${MINGW_GCC_EXC_VAR32}-rt_v3-rev0
  644. -  local MINGW_GCC_VER64=x86_64-${MINGW_GCC_SRC_VER}-release-${MINGW_GCC_EXC_THREADS}-${MINGW_GCC_EXC_VAR64}-rt_v3-rev0
  645. +  local   MINGW_GCC_VER32=i686-${MINGW_GCC_SRC_VER}-release-${MINGW_GCC_EXC_THREADS}-${MINGW_GCC_EXC_VAR32}-rt_v3-rev2
  646. +  local MINGW_GCC_VER64=x86_64-${MINGW_GCC_SRC_VER}-release-${MINGW_GCC_EXC_THREADS}-${MINGW_GCC_EXC_VAR64}-rt_v3-rev2
  647.  
  648.    local BITS=32
  649.    if [ "$ARCH" = "i686" ]; then
  650.      local MINGW_GCC_URL="${MINGW_SF_URL}/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/${MINGW_GCC_SRC_VER}/threads-${MINGW_GCC_EXC_THREADS}/${MINGW_GCC_EXC_VAR32}/${MINGW_GCC_VER32}.7z"
  651.  #    local MINGW_GCC_SHA1=b57dc5557a5dc18763e76e269082800300e8c286
  652. -    local MINGW_GCC_SHA1=9d80ecb4737414dd790204151a2e396ec5b45162
  653. +    local MINGW_GCC_SHA1=f680db58d389c1024fe86e38a4e453a92994d101
  654.    else
  655.      local MINGW_GCC_URL="${MINGW_SF_URL}/Toolchains%20targetting%20Win64/Personal%20Builds/mingw-builds/${MINGW_GCC_SRC_VER}/threads-${MINGW_GCC_EXC_THREADS}/${MINGW_GCC_EXC_VAR64}/${MINGW_GCC_VER64}.7z"
  656.  #    local MINGW_GCC_SHA1=c935f1e890f9b2e339677a9de381c1fb60438019 # seh
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement