Last active
April 20, 2021 15:10
-
-
Save Akaricchi/c32767c26368d6ba75e97c14570b2df8 to your computer and use it in GitHub Desktop.
llvm-mingw meson crossfiles
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[constants] | |
toolchain = '/opt/llvm-mingw' | |
arch = 'i686-w64-mingw32' | |
cpufamily = 'x86' | |
march = 'pentium4' | |
mtune = 'k8' | |
bin = toolchain/'bin' | |
exeprefix = bin/arch+'-' | |
cc = exeprefix+'clang' | |
cxx = exeprefix+'clang++' | |
cflags = ['-march='+march, '-mtune='+mtune, '-mfpmath=sse'] | |
ldflags = ['-static'] | |
[properties] | |
needs_exe_wrapper = true | |
sys_root = toolchain/arch | |
pkg_config_libdir = toolchain/arch/'lib' | |
[binaries] | |
c = cc | |
cpp = cxx | |
c_ld = 'lld' | |
cpp_ld = 'lld' | |
strip = exeprefix+'strip' | |
ar = exeprefix+'ar' | |
ranlib = exeprefix+'ranlib' | |
nm = exeprefix+'nm' | |
size = exeprefix+'size' | |
dlltool = exeprefix+'dlltool' | |
objcopy = exeprefix+'objcopy' | |
objdump = exeprefix+'objdump' | |
widl = exeprefix+'widl' | |
windres = exeprefix+'windres' | |
ld = exeprefix+'ld' | |
[built-in options] | |
c_args = cflags | |
c_link_args = ldflags | |
cpp_args = cflags | |
cpp_link_args = ldflags | |
[cmake] | |
CMAKE_C_COMPILER = cc | |
CMAKE_CXX_COMPILER = cxx | |
CMAKE_C_FLAGS = cflags | |
CMAKE_CXX_FLAGS = cflags | |
[host_machine] | |
system = 'windows' | |
cpu_family = cpufamily | |
cpu = march | |
endian = 'little' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[constants] | |
toolchain = '/opt/llvm-mingw' | |
arch = 'x86_64-w64-mingw32' | |
cpufamily = 'x86_64' | |
march = 'x86-64-v2' | |
mtune = 'znver2' | |
bin = toolchain/'bin' | |
exeprefix = bin/arch+'-' | |
cc = exeprefix+'clang' | |
cxx = exeprefix+'clang++' | |
cflags = ['-march='+march, '-mtune='+mtune] | |
ldflags = ['-static'] | |
[properties] | |
needs_exe_wrapper = true | |
sys_root = toolchain/arch | |
pkg_config_libdir = toolchain/arch/'lib' | |
[binaries] | |
c = cc | |
cpp = cxx | |
c_ld = 'lld' | |
cpp_ld = 'lld' | |
strip = exeprefix+'strip' | |
ar = exeprefix+'ar' | |
ranlib = exeprefix+'ranlib' | |
nm = exeprefix+'nm' | |
size = exeprefix+'size' | |
dlltool = exeprefix+'dlltool' | |
objcopy = exeprefix+'objcopy' | |
objdump = exeprefix+'objdump' | |
widl = exeprefix+'widl' | |
windres = exeprefix+'windres' | |
ld = exeprefix+'ld' | |
[built-in options] | |
c_args = cflags | |
c_link_args = ldflags | |
cpp_args = cflags | |
cpp_link_args = ldflags | |
[cmake] | |
CMAKE_C_COMPILER = cc | |
CMAKE_CXX_COMPILER = cxx | |
CMAKE_C_FLAGS = cflags | |
CMAKE_CXX_FLAGS = cflags | |
[host_machine] | |
system = 'windows' | |
cpu_family = cpufamily | |
cpu = march | |
endian = 'little' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment