summaryrefslogtreecommitdiff
path: root/cross/x86_64-w64-mingw32.txt
blob: 8d75e8d4542627e1030359838321020e809a1dc4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# ubuntu/debian: sudo apt install mingw-w64 mingw-w64-tools binutils-mingw-w64 nasm meson cmake libz-mingw-w64-dev

[binaries]
c = 'x86_64-w64-mingw32-gcc'
cpp = 'x86_64-w64-mingw32-g++'
# https://github.com/msys2/MINGW-packages/issues/3516
# https://github.com/mesonbuild/meson/issues/13324
# 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'
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-gcc-ar'
nm = 'x86_64-w64-mingw32-gcc-nm'
needs_exe_wrapper = true

[built-in options]
# https://github.com/msys2/MINGW-packages/issues/11726#issuecomment-1381836644
cpp_args = ['-fno-declone-ctor-dtor']

[host_machine]
system = 'windows'
cpu_family = 'x86_64'
cpu = 'x86_64'
endian = 'little'