aboutsummaryrefslogtreecommitdiff
path: root/cross/ubuntu-mingw.txt
blob: 4c8fcac41c4093885ceb33ead3b7accb69f88f66 (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
# Something crazy: compiling on Linux a crosscompiler that
# runs on Windows and generates code for OSX.

[binaries]
exe_wrapper = 'wine' # A command used to run generated executables.
c = '/usr/bin/i686-w64-mingw32-gcc'
cpp = '/usr/bin/i686-w64-mingw32-g++'
ar = '/usr/bin/i686-w64-mingw32-ar'
strip = '/usr/bin/i686-w64-mingw32-strip'
pkgconfig = '/usr/bin/mingw32-pkg-config'

[properties]
root = '/usr/i686-w64-mingw32'

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

[target_machine]
system = 'darwin'
cpu_family = 'arm'
cpu = 'armv7h' # Don't know if this is correct.
endian = 'little'