summaryrefslogtreecommitdiff
path: root/cross
diff options
context:
space:
mode:
Diffstat (limited to 'cross')
-rw-r--r--cross/x86_64-w64-clang.txt19
-rw-r--r--cross/x86_64-w64-mingw32.txt1
2 files changed, 20 insertions, 0 deletions
diff --git a/cross/x86_64-w64-clang.txt b/cross/x86_64-w64-clang.txt
new file mode 100644
index 0000000..251122c
--- /dev/null
+++ b/cross/x86_64-w64-clang.txt
@@ -0,0 +1,19 @@
+[binaries]
+c = ['x86_64-w64-mingw32-clang', '-fuse-ld=lld']
+cpp = ['x86_64-w64-mingw32-clang++', '-fuse-ld=lld']
+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]
+ar = 'x86_64-w64-mingw32-ar'
+nm = 'x86_64-w64-mingw32-nm'
+needs_exe_wrapper = true
+
+[host_machine]
+system = 'windows'
+cpu_family = 'x86_64'
+cpu = 'x86_64'
+endian = 'little'
diff --git a/cross/x86_64-w64-mingw32.txt b/cross/x86_64-w64-mingw32.txt
index 8d75e8d..13289b2 100644
--- a/cross/x86_64-w64-mingw32.txt
+++ b/cross/x86_64-w64-mingw32.txt
@@ -8,6 +8,7 @@ cpp = 'x86_64-w64-mingw32-g++'
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106103
# https://embeddedartistry.com/blog/2020/04/13/prefer-gcc-ar-to-ar-in-your-buildsystems/
ar = 'x86_64-w64-mingw32-gcc-ar'
+nm = 'x86_64-w64-mingw32-gcc-nm'
strip = 'x86_64-w64-mingw32-strip'
windres = 'x86_64-w64-mingw32-windres'
dlltool = 'x86_64-w64-mingw32-dlltool'