Advertisement
class101

https://github.com/diorcety/crosstool-ng/issues/11

Jan 14th, 2014
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 19.26 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-x86_64-unknown-mingw32
  115.  
  116.  ROOT=$PWD
  117.  download_sdk
  118. Index: crosstool-ng.configs/crosstool.config.windows.64
  119. ===================================================================
  120. --- crosstool-ng.configs/crosstool.config.windows.64    (revision 115)
  121. +++ crosstool-ng.configs/crosstool.config.windows.64    (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:33:01 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-x86_64-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="-m64"
  198. +CT_EXTRA_LDFLAGS_FOR_BUILD="-m64"
  199. +CT_EXTRA_CFLAGS_FOR_HOST="-m64"
  200. +CT_EXTRA_LDFLAGS_FOR_HOST="-m64"
  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_LOG_ALL is not set
  215. +# CT_LOG_DEBUG is not set
  216. +CT_LOG_LEVEL_MAX="EXTRA"
  217. +# CT_LOG_SEE_TOOLS_WARN is not set
  218. +CT_LOG_PROGRESS_BAR=y
  219. +CT_LOG_TO_FILE=y
  220. +CT_LOG_FILE_COMPRESS=y
  221. +
  222. +#
  223. +# Target options
  224. +#
  225. +CT_ARCH="x86"
  226. +CT_ARCH_SUPPORTS_32=y
  227. +CT_ARCH_SUPPORTS_64=y
  228. +CT_ARCH_SUPPORTS_WITH_ARCH=y
  229. +CT_ARCH_SUPPORTS_WITH_CPU=y
  230. +CT_ARCH_SUPPORTS_WITH_TUNE=y
  231. +CT_ARCH_DEFAULT_32=y
  232. +CT_ARCH_ARCH=""
  233. +CT_ARCH_CPU=""
  234. +CT_ARCH_TUNE=""
  235. +# CT_ARCH_32 is not set
  236.  CT_ARCH_64=y
  237. +CT_ARCH_BITNESS=64
  238. +CT_TARGET_CFLAGS=""
  239. +CT_TARGET_LDFLAGS=""
  240. +# CT_ARCH_blackfin is not set
  241. +# CT_ARCH_microblaze is not set
  242. +# CT_ARCH_alpha is not set
  243. +# CT_ARCH_m68k is not set
  244. +# CT_ARCH_s390 is not set
  245. +# CT_ARCH_powerpc is not set
  246. +# CT_ARCH_sparc is not set
  247. +# CT_ARCH_mips is not set
  248. +# CT_ARCH_avr32 is not set
  249. +# CT_ARCH_sh is not set
  250.  CT_ARCH_x86=y
  251. +# CT_ARCH_arm is not set
  252. +CT_ARCH_blackfin_AVAILABLE=y
  253. +CT_ARCH_microblaze_AVAILABLE=y
  254. +CT_ARCH_alpha_AVAILABLE=y
  255. +CT_ARCH_m68k_AVAILABLE=y
  256. +CT_ARCH_s390_AVAILABLE=y
  257. +CT_ARCH_powerpc_AVAILABLE=y
  258. +CT_ARCH_sparc_AVAILABLE=y
  259. +CT_ARCH_mips_AVAILABLE=y
  260. +CT_ARCH_avr32_AVAILABLE=y
  261. +CT_ARCH_sh_AVAILABLE=y
  262. +CT_ARCH_x86_AVAILABLE=y
  263. +CT_ARCH_arm_AVAILABLE=y
  264. +CT_ARCH_SUFFIX=""
  265. +
  266. +#
  267. +# Generic target options
  268. +#
  269. +# CT_MULTILIB is not set
  270. +CT_ARCH_USE_MMU=y
  271. +
  272. +#
  273. +# Target optimisations
  274. +#
  275. +CT_ARCH_FLOAT=""
  276. +
  277. +#
  278. +# Toolchain options
  279. +#
  280. +
  281. +#
  282. +# General toolchain options
  283. +#
  284. +CT_USE_SYSROOT=y
  285. +CT_SYSROOT_NAME="sysroot"
  286. +CT_SYSROOT_DIR_PREFIX=""
  287. +# CT_STATIC_TOOLCHAIN is not set
  288. +# CT_DEBUGGABLE_TOOLCHAIN is not set
  289. +CT_TOOLCHAIN_PKGVERSION=""
  290. +CT_TOOLCHAIN_BUGURL=""
  291. +
  292. +#
  293. +# Tuple completion and aliasing
  294. +#
  295. +CT_TARGET_VENDOR="unknown"
  296. +CT_TARGET_ALIAS_SED_EXPR=""
  297. +CT_TARGET_ALIAS=""
  298. +
  299. +#
  300. +# Toolchain type
  301. +#
  302. +# CT_NATIVE is not set
  303. +CT_CROSS=y
  304. +# CT_CROSS_NATIVE is not set
  305. +# CT_CANADIAN is not set
  306. +CT_TOOLCHAIN_TYPE="cross"
  307. +
  308. +#
  309. +# Build system
  310. +#
  311. +CT_BUILD="x86_64-w64-mingw32"
  312. +CT_BUILD_PREFIX=""
  313. +CT_BUILD_SUFFIX=""
  314. +
  315. +#
  316. +# Misc options
  317. +#
  318. +# CT_TOOLCHAIN_ENABLE_NLS is not set
  319. +
  320. +#
  321. +# Operating System
  322. +#
  323. +CT_WINDOWS=y
  324. +CT_KERNEL="windows"
  325. +# CT_KERNEL_linux is not set
  326.  CT_KERNEL_windows=y
  327. +# CT_KERNEL_darwin is not set
  328. +# CT_KERNEL_bare_metal is not set
  329. +CT_KERNEL_linux_AVAILABLE=y
  330. +CT_KERNEL_windows_AVAILABLE=y
  331. +CT_KERNEL_darwin_AVAILABLE=y
  332. +CT_KERNEL_bare_metal_AVAILABLE=y
  333. +
  334. +#
  335. +# Common kernel options
  336. +#
  337. +
  338. +#
  339. +# Binary utilities
  340. +#
  341. +CT_ARCH_BINFMT_ELF=y
  342. +CT_BINUTILS="binutils"
  343. +CT_BINUTILS_binutils=y
  344. +CT_BINUTILS_VERSION="2.24"
  345. +
  346. +#
  347. +# GNU binutils
  348. +#
  349. +CT_BINUTILS_V_2_24=y
  350. +# CT_BINUTILS_V_2_23_2 is not set
  351. +# CT_BINUTILS_V_2_23_1 is not set
  352. +# CT_BINUTILS_V_2_22 is not set
  353. +# CT_BINUTILS_V_2_21_53 is not set
  354. +# CT_BINUTILS_V_2_21_1a is not set
  355. +# CT_BINUTILS_V_2_20_1a is not set
  356. +# CT_BINUTILS_V_2_19_1a is not set
  357. +# CT_BINUTILS_V_2_18a is not set
  358. +# CT_BINUTILS_CUSTOM is not set
  359. +CT_BINUTILS_2_24_or_later=y
  360. +CT_BINUTILS_2_23_or_later=y
  361. +CT_BINUTILS_2_22_or_later=y
  362. +CT_BINUTILS_2_21_or_later=y
  363. +CT_BINUTILS_2_20_or_later=y
  364. +CT_BINUTILS_2_19_or_later=y
  365. +CT_BINUTILS_2_18_or_later=y
  366. +CT_BINUTILS_HAS_HASH_STYLE=y
  367. +CT_BINUTILS_HAS_GOLD=y
  368. +CT_BINUTILS_GOLD_SUPPORTS_ARCH=y
  369. +CT_BINUTILS_HAS_PLUGINS=y
  370. +CT_BINUTILS_HAS_PKGVERSION_BUGURL=y
  371. +CT_BINUTILS_LINKER_LD=y
  372. +# CT_BINUTILS_LINKER_GOLD is not set
  373. +# CT_BINUTILS_LINKER_LD_GOLD is not set
  374. +# CT_BINUTILS_LINKER_GOLD_LD is not set
  375. +CT_BINUTILS_LINKERS_LIST="ld"
  376. +CT_BINUTILS_LINKER_DEFAULT="bfd"
  377. +# CT_BINUTILS_PLUGINS is not set
  378. +CT_BINUTILS_EXTRA_CONFIG_ARRAY=""
  379. +# CT_BINUTILS_FOR_TARGET is not set
  380. +
  381. +#
  382. +# binutils other options
  383. +#
  384. +
  385. +#
  386. +# C compiler
  387. +#
  388. +CT_CC="gcc"
  389. +CT_CC_CORE_PASSES_NEEDED=y
  390. +CT_CC_gcc=y
  391. +# CT_CC_GCC_SHOW_LINARO is not set
  392. +CT_CC_GCC_V_4_8_2=y
  393. +# CT_CC_GCC_V_4_8_1 is not set
  394. +# CT_CC_GCC_V_4_8_0 is not set
  395. +# CT_CC_GCC_V_4_7_3 is not set
  396. +# CT_CC_GCC_V_4_7_2 is not set
  397. +# CT_CC_GCC_V_4_7_1 is not set
  398. +# CT_CC_GCC_V_4_7_0 is not set
  399. +# CT_CC_GCC_V_4_6_4 is not set
  400. +# CT_CC_GCC_V_4_6_3 is not set
  401. +# CT_CC_GCC_V_4_6_2 is not set
  402. +# CT_CC_GCC_V_4_6_1 is not set
  403. +# CT_CC_GCC_V_4_6_0 is not set
  404. +# CT_CC_GCC_V_4_5_3 is not set
  405. +# CT_CC_GCC_V_4_5_2 is not set
  406. +# CT_CC_GCC_V_4_5_1 is not set
  407. +# CT_CC_GCC_V_4_5_0 is not set
  408. +# CT_CC_GCC_V_4_4_7 is not set
  409. +# CT_CC_GCC_V_4_4_6 is not set
  410. +# CT_CC_GCC_V_4_4_5 is not set
  411. +# CT_CC_GCC_V_4_4_4 is not set
  412. +# CT_CC_GCC_V_4_4_3 is not set
  413. +# CT_CC_GCC_V_4_4_2 is not set
  414. +# CT_CC_GCC_V_4_4_1 is not set
  415. +# CT_CC_GCC_V_4_4_0 is not set
  416. +# CT_CC_GCC_V_4_3_6 is not set
  417. +# CT_CC_GCC_V_4_3_5 is not set
  418. +# CT_CC_GCC_V_4_3_4 is not set
  419. +# CT_CC_GCC_V_4_3_3 is not set
  420. +# CT_CC_GCC_V_4_3_2 is not set
  421. +# CT_CC_GCC_V_4_3_1 is not set
  422. +# CT_CC_GCC_V_4_2_4 is not set
  423. +# CT_CC_GCC_V_4_2_2 is not set
  424. +# CT_CC_GCC_V_4_1_2 is not set
  425. +# CT_CC_GCC_V_4_0_4 is not set
  426. +# CT_CC_GCC_V_3_4_6 is not set
  427. +# CT_CC_GCC_CUSTOM is not set
  428. +CT_CC_GCC_4_2_or_later=y
  429. +CT_CC_GCC_4_3_or_later=y
  430. +CT_CC_GCC_4_4_or_later=y
  431. +CT_CC_GCC_4_5_or_later=y
  432. +CT_CC_GCC_4_6_or_later=y
  433. +CT_CC_GCC_4_7_or_later=y
  434. +CT_CC_GCC_4_8=y
  435. +CT_CC_GCC_4_8_or_later=y
  436. +CT_CC_GCC_HAS_GRAPHITE=y
  437. +CT_CC_GCC_USE_GRAPHITE=y
  438. +CT_CC_GCC_HAS_LTO=y
  439. +# CT_CC_GCC_USE_LTO is not set
  440. +CT_CC_GCC_HAS_PKGVERSION_BUGURL=y
  441. +CT_CC_GCC_HAS_BUILD_ID=y
  442. +CT_CC_GCC_HAS_LNK_HASH_STYLE=y
  443. +CT_CC_GCC_USE_GMP_MPFR=y
  444. +CT_CC_GCC_USE_MPC=y
  445. +CT_CC_GCC_HAS_LIBQUADMATH=y
  446. +CT_CC_GCC_VERSION="4.8.2"
  447. +# CT_CC_LANG_FORTRAN is not set
  448. +CT_CC_GCC_ENABLE_CXX_FLAGS=""
  449. +CT_CC_GCC_CORE_EXTRA_CONFIG_ARRAY="--enable-seh-exceptions --with-arch=nocona --with-tune=core2"
  450. +CT_CC_GCC_EXTRA_CONFIG_ARRAY="--enable-seh-exceptions --with-arch=nocona --with-tune=core2"
  451. +# CT_CC_GCC_STATIC_LIBSTDCXX is not set
  452. +# CT_CC_GCC_SYSTEM_ZLIB is not set
  453. +
  454. +#
  455. +# Optimisation features
  456. +#
  457. +
  458. +#
  459. +# Settings for libraries running on target
  460. +#
  461. +CT_CC_GCC_ENABLE_TARGET_OPTSPACE=y
  462. +# CT_CC_GCC_LIBMUDFLAP is not set
  463. +# CT_CC_GCC_LIBGOMP is not set
  464. +# CT_CC_GCC_LIBSSP is not set
  465. +# CT_CC_GCC_LIBQUADMATH is not set
  466. +
  467. +#
  468. +# Misc. obscure options.
  469. +#
  470. +CT_CC_CXA_ATEXIT=y
  471. +# CT_CC_GCC_DISABLE_PCH is not set
  472. +CT_CC_GCC_SJLJ_EXCEPTIONS=m
  473. +CT_CC_GCC_LDBL_128=m
  474. +# CT_CC_GCC_BUILD_ID is not set
  475. +CT_CC_GCC_LNK_HASH_STYLE_DEFAULT=y
  476. +# CT_CC_GCC_LNK_HASH_STYLE_SYSV is not set
  477. +# CT_CC_GCC_LNK_HASH_STYLE_GNU is not set
  478. +# CT_CC_GCC_LNK_HASH_STYLE_BOTH is not set
  479. +CT_CC_GCC_LNK_HASH_STYLE=""
  480. +# CT_CC_clang is not set
  481. +# CT_CC_llvmgcc is not set
  482. +CT_CC_SUPPORT_CXX=y
  483. +CT_CC_SUPPORT_FORTRAN=y
  484. +CT_CC_SUPPORT_JAVA=y
  485. +CT_CC_SUPPORT_ADA=y
  486. +CT_CC_SUPPORT_OBJC=y
  487. +CT_CC_SUPPORT_OBJCXX=y
  488. +CT_CC_SUPPORT_GOLANG=y
  489. +
  490. +#
  491. +# Additional supported languages:
  492. +#
  493.  CT_CC_LANG_CXX=y
  494. -CT_MINGW_DIRECTX=y
  495. -CT_MINGW_DDK=y
  496. +# CT_CC_LANG_JAVA is not set
  497. +# CT_CC_LANG_ADA is not set
  498. +# CT_CC_LANG_OBJC is not set
  499. +# CT_CC_LANG_OBJCXX is not set
  500. +# CT_CC_LANG_GOLANG is not set
  501. +CT_CC_LANG_OTHERS=""
  502. +
  503. +#
  504. +# C-library
  505. +#
  506. +CT_LIBC="mingw"
  507. +CT_LIBC_mingw=y
  508. +CT_LIBC_eglibc_AVAILABLE=y
  509. +CT_LIBC_uClibc_AVAILABLE=y
  510. +CT_LIBC_newlib_AVAILABLE=y
  511. +CT_LIBC_glibc_AVAILABLE=y
  512. +CT_LIBC_mingw_AVAILABLE=y
  513. +# CT_WINAPI_V_2_0_8 is not set
  514. +# CT_WINAPI_V_2_0_7 is not set
  515. +CT_WINAPI_V_3_0_0=y
  516. +# CT_WINAPI_V_select is not set
  517. +CT_WINAPI_VERSION="3.0.0"
  518. +# CT_MINGW_DIRECTX is not set
  519. +# CT_MINGW_DDK is not set
  520. +CT_LIBC_none_AVAILABLE=y
  521. +CT_LIBC_SUPPORT_THREADS_ANY=y
  522. +CT_LIBC_SUPPORT_WIN32THREADS=y
  523. +CT_THREADS="win32"
  524. +
  525. +#
  526. +# Common C library options
  527. +#
  528. +CT_THREADS_WIN32THREADS=y
  529. +
  530. +#
  531. +# Debug facilities
  532. +#
  533. +# CT_DEBUG_strace is not set
  534. +# CT_DEBUG_dmalloc is not set
  535. +# CT_DEBUG_duma is not set
  536. +CT_DEBUG_gdb=y
  537. +CT_GDB_CROSS=y
  538. +# CT_GDB_CROSS_STATIC is not set
  539. +# CT_GDB_CROSS_SIM is not set
  540. +# CT_GDB_CROSS_PYTHON is not set
  541. +CT_GDB_CROSS_EXTRA_CONFIG_ARRAY=""
  542. +# CT_GDB_NATIVE is not set
  543. +CT_GDB_GDBSERVER=y
  544. +CT_GDB_GDBSERVER_HAS_IPA_LIB=y
  545. +CT_GDB_GDBSERVER_STATIC=y
  546. +
  547. +#
  548. +# gdb version
  549. +#
  550. +# CT_DEBUG_GDB_SHOW_LINARO is not set
  551. +CT_GDB_V_7_6_1=y
  552. +# CT_GDB_V_7_5_1 is not set
  553. +# CT_GDB_V_7_4_1 is not set
  554. +# CT_GDB_V_7_4 is not set
  555. +# CT_GDB_V_7_3_1 is not set
  556. +# CT_GDB_V_7_3a is not set
  557. +# CT_GDB_V_7_2a is not set
  558. +# CT_GDB_V_7_1a is not set
  559. +# CT_GDB_V_7_0_1a is not set
  560. +# CT_GDB_V_7_0a is not set
  561. +# CT_GDB_V_6_8a is not set
  562. +# CT_GDB_CUSTOM is not set
  563. +CT_GDB_7_2_or_later=y
  564. +CT_GDB_7_0_or_later=y
  565. +CT_GDB_HAS_PKGVERSION_BUGURL=y
  566. +CT_GDB_INSTALL_GDBINIT=y
  567. +CT_GDB_VERSION="7.6.1"
  568. +# CT_DEBUG_ltrace is not set
  569. +
  570. +#
  571. +# Companion libraries
  572. +#
  573. +CT_COMPLIBS_NEEDED=y
  574. +CT_GMP_NEEDED=y
  575. +CT_MPFR_NEEDED=y
  576. +CT_ISL_NEEDED=y
  577. +CT_CLOOG_NEEDED=y
  578. +CT_MPC_NEEDED=y
  579. +CT_COMPLIBS=y
  580. +CT_GMP=y
  581. +CT_MPFR=y
  582. +CT_ISL=y
  583. +CT_CLOOG=y
  584. +CT_MPC=y
  585.  CT_GMP_V_5_1_1=y
  586. +# CT_GMP_V_5_0_2 is not set
  587. +# CT_GMP_V_5_0_1 is not set
  588. +# CT_GMP_V_4_3_2 is not set
  589. +# CT_GMP_V_4_3_1 is not set
  590. +# CT_GMP_V_4_3_0 is not set
  591. +CT_GMP_VERSION="5.1.1"
  592.  CT_MPFR_V_3_1_2=y
  593. -CT_PPL_V_0_11_2=y
  594. +# CT_MPFR_V_3_1_0 is not set
  595. +# CT_MPFR_V_3_0_1 is not set
  596. +# CT_MPFR_V_3_0_0 is not set
  597. +# CT_MPFR_V_2_4_2 is not set
  598. +# CT_MPFR_V_2_4_1 is not set
  599. +# CT_MPFR_V_2_4_0 is not set
  600. +CT_MPFR_VERSION="3.1.2"
  601. +CT_ISL_V_0_11_1=y
  602. +# CT_ISL_V_0_12_1 is not set
  603. +CT_ISL_VERSION="0.11.1"
  604.  CT_CLOOG_V_0_18_0=y
  605. -CT_WINAPI_V_3_0_0=y
  606. +CT_CLOOG_VERSION="0.18.0"
  607. +CT_CLOOG_0_18_or_later=y
  608. +CT_MPC_V_1_0_1=y
  609. +# CT_MPC_V_1_0 is not set
  610. +# CT_MPC_V_0_9 is not set
  611. +# CT_MPC_V_0_8_2 is not set
  612. +# CT_MPC_V_0_8_1 is not set
  613. +# CT_MPC_V_0_7 is not set
  614. +CT_MPC_VERSION="1.0.1"
  615. +
  616. +#
  617. +# Companion libraries common options
  618. +#
  619. +# CT_COMPLIBS_CHECK is not set
  620. +
  621. +#
  622. +# Companion tools
  623. +#
  624. +
  625. +#
  626. +# READ HELP before you say 'Y' below !!!
  627. +#
  628. +# CT_COMP_TOOLS is not set
  629. +
  630. +#
  631. +# Test suite
  632. +#
  633. +# CT_TEST_SUITE_GCC is not set
  634. Index: mingw-w64-toolchain.sh
  635. ===================================================================
  636. --- mingw-w64-toolchain.sh  (revision 115)
  637. +++ mingw-w64-toolchain.sh  (working copy)
  638. @@ -53,11 +53,11 @@
  639.    # lib/ExecutionEngine/RTDyldMemoryManager.cpp:135: undefined reference to `__deregister_frame'/undefined reference to `__register_frame'
  640.    # [1] http://sourceforge.net/mailarchive/message.php?msg_id=31429682
  641.    # [2] http://clang-developers.42468.n3.nabble.com/clang-3-3-does-not-build-with-gcc-4-8-with-Windows-SEH-exception-td4032754.html
  642. -  local MINGW_GCC_EXC_VAR64=sjlj
  643. +  local MINGW_GCC_EXC_VAR64=seh
  644.    local MINGW_GCC_EXC_THREADS=win32
  645.    local MINGW_SF_URL="http://sourceforge.net/projects/mingw-w64/files"
  646. -  local   MINGW_GCC_VER32=i686-${MINGW_GCC_SRC_VER}-release-${MINGW_GCC_EXC_THREADS}-${MINGW_GCC_EXC_VAR32}-rt_v3-rev0
  647. -  local MINGW_GCC_VER64=x86_64-${MINGW_GCC_SRC_VER}-release-${MINGW_GCC_EXC_THREADS}-${MINGW_GCC_EXC_VAR64}-rt_v3-rev0
  648. +  local   MINGW_GCC_VER32=i686-${MINGW_GCC_SRC_VER}-release-${MINGW_GCC_EXC_THREADS}-${MINGW_GCC_EXC_VAR32}-rt_v3-rev2
  649. +  local MINGW_GCC_VER64=x86_64-${MINGW_GCC_SRC_VER}-release-${MINGW_GCC_EXC_THREADS}-${MINGW_GCC_EXC_VAR64}-rt_v3-rev2
  650.  
  651.    local BITS=32
  652.    if [ "$ARCH" = "i686" ]; then
  653. @@ -66,8 +66,8 @@
  654.      local MINGW_GCC_SHA1=9d80ecb4737414dd790204151a2e396ec5b45162
  655.    else
  656.      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"
  657. -#    local MINGW_GCC_SHA1=c935f1e890f9b2e339677a9de381c1fb60438019 # seh
  658. -    local MINGW_GCC_SHA1=77de7cdf6f17de557d0ffd619f13cea0fe98dc71 # sjlj
  659. +    local MINGW_GCC_SHA1=3e219fc216762da1412b96ef8ef7f404809aea4b # seh
  660. +#    local MINGW_GCC_SHA1=98eeccf1e2b1e1a26272b8c654f0476280dfe9aa # sjlj
  661.      local BITS=64
  662.    fi
  663.    if [ "$ARCH" = "i686" ]; then
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement