aboutsummaryrefslogtreecommitdiff
path: root/cross-w64-mingw32.txt
blob: 80002cf0d6cd7af710f6bc3dd622d8ebf99c1b12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# note: msvcrt does not support %zu, see here:
# https://stackoverflow.com/questions/44382862/how-to-printf-a-size-t-without-warning-in-mingw-w64-gcc-7-1/44383330
# as a workaround, i replaced all instances of %zu with a cast to (int)
# and %d

[binaries]
c = '/usr/bin/x86_64-w64-mingw32-gcc'
ar = '/usr/bin/x86_64-w64-mingw32-ar'
strip = '/usr/bin/x86_64-w64-mingw32-strip'
sdl2-config = '/usr/local/x86_64-w64-mingw32/bin/sdl2-config'
pkgconfig = '/usr/bin/x86_64-w64-mingw32-pkg-config'
exe_wrapper = 'wine'

[properties]
needs_exe_wrapper = true
c_args = ['-mwindows']
# c_link_args = ['-L/usr/local/x86_64-w64-mingw32/lib']

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