summaryrefslogtreecommitdiff
path: root/cross
diff options
context:
space:
mode:
authorAndrew Opalach <andrew@akon.city> 2024-10-04 13:36:54 -0400
committerAndrew Opalach <andrew@akon.city> 2024-10-04 13:36:54 -0400
commit9e63fb59e7b8506183172869ea44b68cdec29be5 (patch)
treea47f51121275477b3ce93b1d2b82ea1f342d68ed /cross
parenta320ee672ccf52297dc509b25ed263f165709b31 (diff)
downloadlibnaunet-9e63fb59e7b8506183172869ea44b68cdec29be5.tar.gz
libnaunet-9e63fb59e7b8506183172869ea44b68cdec29be5.tar.bz2
libnaunet-9e63fb59e7b8506183172869ea44b68cdec29be5.zip
Tons of changes
Mainly for things that came up in other projects. Signed-off-by: Andrew Opalach <andrew@akon.city>
Diffstat (limited to 'cross')
-rw-r--r--cross/i686-w64-mingw32.txt17
-rw-r--r--cross/x86_64-w64-mingw32.txt19
2 files changed, 36 insertions, 0 deletions
diff --git a/cross/i686-w64-mingw32.txt b/cross/i686-w64-mingw32.txt
new file mode 100644
index 0000000..3e2392f
--- /dev/null
+++ b/cross/i686-w64-mingw32.txt
@@ -0,0 +1,17 @@
+[binaries]
+c = 'i686-w64-mingw32-gcc'
+cpp = 'i686-w64-mingw32-g++'
+ar = 'i686-w64-mingw32-gcc-ar'
+strip = 'i686-w64-mingw32-strip'
+exe_wrapper = 'wine'
+
+[properties]
+nm = 'i686-w64-mingw32-gcc-nm'
+ar = 'i686-w64-mingw32-gcc-ar'
+needs_exe_wrapper = true
+
+[host_machine]
+system = 'windows'
+cpu_family = 'x86'
+cpu = 'x86'
+endian = 'little'
diff --git a/cross/x86_64-w64-mingw32.txt b/cross/x86_64-w64-mingw32.txt
new file mode 100644
index 0000000..55fc1e6
--- /dev/null
+++ b/cross/x86_64-w64-mingw32.txt
@@ -0,0 +1,19 @@
+# ubuntu: sudo apt install mingw-w64 mingw-w64-tools binutils-mingw-w64 meson cmake nasm libz-mingw-w64-dev
+
+[binaries]
+c = 'x86_64-w64-mingw32-gcc'
+cpp = 'x86_64-w64-mingw32-g++'
+ar = 'x86_64-w64-mingw32-gcc-ar'
+strip = 'x86_64-w64-mingw32-strip'
+exe_wrapper = 'wine64'
+
+[properties]
+nm = 'x86_64-w64-mingw32-gcc-nm'
+ar = 'x86_64-w64-mingw32-gcc-ar'
+needs_exe_wrapper = true
+
+[host_machine]
+system = 'windows'
+cpu_family = 'x86_64'
+cpu = 'x86_64'
+endian = 'little'