aboutsummaryrefslogtreecommitdiff
path: root/cross/ubuntu-mingw.txt
blob: dd87e5e10a20134fbb09795e641aa8a17719481a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# 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'

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

[host_machine]
name = 'windows'
cpu = 'x86'
endian = 'little'

[target_machine]
name='darwin'
cpu='arm'
endian = 'little'