From 86fbcfc36b495a013bd948991f6f27ebabaedfbe Mon Sep 17 00:00:00 2001 From: Ray Donnelly Date: Mon, 24 Aug 2015 23:11:55 +0100 Subject: [PATCH] mingw-w64: Rename targets to {i686,x86_64}-w64-mingw32 .. and set CT_TARGET_VENDOR to w64. Otherwise config.gcc doesn't pickup the right files for include_next (and probably many other things go wrong too). w64 has been the correct vendor for absolutely ages now on all distributions that provide MinGW-w64 cross compilers. Signed-off-by: Ray Donnelly --- .../{i686-unknown-mingw32 => i686-w64-mingw32}/crosstool.config | 2 +- samples/{i686-unknown-mingw32 => i686-w64-mingw32}/reported.by | 0 .../crosstool.config | 1 + .../{x86_64-unknown-mingw32 => x86_64-w64-mingw32}/reported.by | 0 4 files changed, 2 insertions(+), 1 deletion(-) rename samples/{i686-unknown-mingw32 => i686-w64-mingw32}/crosstool.config (89%) rename samples/{i686-unknown-mingw32 => i686-w64-mingw32}/reported.by (100%) rename samples/{x86_64-unknown-mingw32 => x86_64-w64-mingw32}/crosstool.config (89%) rename samples/{x86_64-unknown-mingw32 => x86_64-w64-mingw32}/reported.by (100%) diff --git a/samples/i686-unknown-mingw32/crosstool.config b/samples/i686-w64-mingw32/crosstool.config similarity index 89% rename from samples/i686-unknown-mingw32/crosstool.config rename to samples/i686-w64-mingw32/crosstool.config index 148648aa..a142f014 100644 --- a/samples/i686-unknown-mingw32/crosstool.config +++ b/samples/i686-w64-mingw32/crosstool.config @@ -4,8 +4,8 @@ CT_LOG_EXTRA=y CT_ARCH_ARCH="i686" CT_ARCH_x86=y CT_KERNEL_windows=y +CT_TARGET_VENDOR="w64" CT_BINUTILS_PLUGINS=y CT_MINGW_DIRECTX=y CT_MINGW_DDK=y -CT_CC_V_4_8_3=y CT_CC_LANG_CXX=y diff --git a/samples/i686-unknown-mingw32/reported.by b/samples/i686-w64-mingw32/reported.by similarity index 100% rename from samples/i686-unknown-mingw32/reported.by rename to samples/i686-w64-mingw32/reported.by diff --git a/samples/x86_64-unknown-mingw32/crosstool.config b/samples/x86_64-w64-mingw32/crosstool.config similarity index 89% rename from samples/x86_64-unknown-mingw32/crosstool.config rename to samples/x86_64-w64-mingw32/crosstool.config index 2f41780d..f39b5e18 100644 --- a/samples/x86_64-unknown-mingw32/crosstool.config +++ b/samples/x86_64-w64-mingw32/crosstool.config @@ -4,6 +4,7 @@ CT_LOG_EXTRA=y CT_ARCH_64=y CT_ARCH_x86=y CT_KERNEL_windows=y +CT_TARGET_VENDOR="w64" CT_BINUTILS_PLUGINS=y CT_MINGW_DIRECTX=y CT_MINGW_DDK=y diff --git a/samples/x86_64-unknown-mingw32/reported.by b/samples/x86_64-w64-mingw32/reported.by similarity index 100% rename from samples/x86_64-unknown-mingw32/reported.by rename to samples/x86_64-w64-mingw32/reported.by