summaryrefslogtreecommitdiff
path: root/cross
diff options
context:
space:
mode:
Diffstat (limited to 'cross')
-rw-r--r--cross/i686-w64-mingw32.txt6
-rw-r--r--cross/x86_64-w64-mingw32.txt6
-rw-r--r--cross/x86_64-w64-msvc-clang.txt24
3 files changed, 30 insertions, 6 deletions
diff --git a/cross/i686-w64-mingw32.txt b/cross/i686-w64-mingw32.txt
index e07fa49..159c662 100644
--- a/cross/i686-w64-mingw32.txt
+++ b/cross/i686-w64-mingw32.txt
@@ -1,15 +1,15 @@
[binaries]
c = 'i686-w64-mingw32-gcc'
cpp = 'i686-w64-mingw32-g++'
-ar = 'i686-w64-mingw32-gcc-ar'
+ar = 'i686-w64-mingw32-ar'
strip = 'i686-w64-mingw32-strip'
windres = 'i686-w64-mingw32-windres'
dlltool = 'i686-w64-mingw32-dlltool'
exe_wrapper = 'wine'
[properties]
-nm = 'i686-w64-mingw32-gcc-nm'
-ar = 'i686-w64-mingw32-gcc-ar'
+ar = 'i686-w64-mingw32-ar'
+nm = 'i686-w64-mingw32-nm'
needs_exe_wrapper = true
[host_machine]
diff --git a/cross/x86_64-w64-mingw32.txt b/cross/x86_64-w64-mingw32.txt
index 37e4e24..2bc8756 100644
--- a/cross/x86_64-w64-mingw32.txt
+++ b/cross/x86_64-w64-mingw32.txt
@@ -3,15 +3,15 @@
[binaries]
c = 'x86_64-w64-mingw32-gcc'
cpp = 'x86_64-w64-mingw32-g++'
-ar = 'x86_64-w64-mingw32-gcc-ar'
+ar = 'x86_64-w64-mingw32-ar'
strip = 'x86_64-w64-mingw32-strip'
windres = 'x86_64-w64-mingw32-windres'
dlltool = 'x86_64-w64-mingw32-dlltool'
exe_wrapper = 'wine64'
[properties]
-nm = 'x86_64-w64-mingw32-gcc-nm'
-ar = 'x86_64-w64-mingw32-gcc-ar'
+ar = 'x86_64-w64-mingw32-ar'
+nm = 'x86_64-w64-mingw32-nm'
needs_exe_wrapper = true
[host_machine]
diff --git a/cross/x86_64-w64-msvc-clang.txt b/cross/x86_64-w64-msvc-clang.txt
new file mode 100644
index 0000000..f269f63
--- /dev/null
+++ b/cross/x86_64-w64-msvc-clang.txt
@@ -0,0 +1,24 @@
+[binaries]
+c = 'clang-cl'
+c_ld = 'lld-link'
+cpp = 'clang-cl'
+cpp_ld = 'lld-link'
+ar = 'llvm-lib'
+nm = 'llvm-objdump'
+dlltool = 'llvm-dlltool'
+windres = 'llvm-rc'
+pkg-config = ''
+exe_wrapper = 'wine64'
+
+[properties]
+c_args = ['--target=x86_64-windows-msvc', '-fuse-ld=lld']
+cpp_args = ['--target=x86_64-windows-msvc', '-fuse-ld=lld']
+ar = 'llvm-lib'
+nm = 'llvm-objdump'
+needs_exe_wrapper = true
+
+[host_machine]
+system = 'windows'
+cpu_family = 'x86_64'
+cpu = 'x86_64'
+endian = 'little'