1
0
Fork 0

[meson] File for cross compilation for djgpp

This commit is contained in:
Witold Filipczyk 2022-07-10 18:21:42 +02:00
parent e5dcb352b9
commit d64c5c01ce
1 changed files with 31 additions and 0 deletions

31
cross/linux-djgpp.txt Normal file
View File

@ -0,0 +1,31 @@
[binaries]
c = '/usr/bin/i586-pc-msdosdjgpp-gcc'
cpp = '/usr/bin/i586-pc-msdosdjgpp-g++'
objc = '/usr/bin/i586-pc-msdosdjgpp-gcc'
ar = '/usr/bin/i586-pc-msdosdjgpp-ar'
pkgconfig = '/usr/bin/pkg-config'
strip = '/usr/bin/i586-pc-msdosdjgpp-strip'
exe_wrapper = 'wine'
ld = '/usr/bin/i586-pc-msdosdjgpp-ld'
# --allow-multiple-definition'
cmake = '/usr/bin/cmake'
[properties]
# Directory that contains 'bin', 'lib', etc
root = '/usr/i586-pc-msdosdjgpp'
# Directory that contains 'bin', 'lib', etc for the toolchain and system libraries
sys_root = '/usr/i586-pc-msdosdjgpp/sys-include/'
[host_machine]
system = 'dos'
cpu_family = 'x86'
cpu = 'i586'
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'