1
0
Fork 0

[cross] mingw64

This commit is contained in:
Witold Filipczyk 2023-11-04 20:31:19 +01:00
parent decdfa853c
commit 5a8ab5f039
1 changed files with 33 additions and 0 deletions

33
cross/linux-mingw64.txt Normal file
View File

@ -0,0 +1,33 @@
[binaries]
c = '/usr/bin/x86_64-w64-mingw32-gcc'
cpp = '/usr/bin/x86_64-w64-mingw32-g++'
objc = '/usr/bin/x86_64-w64-mingw32-gcc'
ar = '/usr/bin/x86_64-w64-mingw32-ar'
pkgconfig = '/usr/bin/pkg-config'
strip = '/usr/bin/x86_64-w64-mingw32-strip'
exe_wrapper = 'wine'
ld = '/usr/bin/x86_64-w64-mingw32-ld'
# --allow-multiple-definition'
cmake = '/usr/bin/cmake'
[properties]
# Directory that contains 'bin', 'lib', etc
root = '/usr/x86_64-w64-mingw32'
# Directory that contains 'bin', 'lib', etc for the toolchain and system libraries
#sys_root = '/usr/i586-pc-msdosdjgpp/sys-include/'
need_exe_wrapper = true
#elinks_wrapper = 'wine'
[host_machine]
system = 'windows'
cpu_family = 'x86_64'
cpu = 'x86_64'
endian = 'little'
[cmake]
CMAKE_BUILD_WITH_INSTALL_RPATH = 'ON'
CMAKE_FIND_ROOT_PATH_MODE_PROGRAM = 'NEVER'
CMAKE_FIND_ROOT_PATH_MODE_LIBRARY = 'ONLY'
CMAKE_FIND_ROOT_PATH_MODE_INCLUDE = 'ONLY'
CMAKE_FIND_ROOT_PATH_MODE_PACKAGE = 'ONLY'