1[binaries]
2# Meson 0.53.2 doesn't use any cflags when doing basic compiler tests,
3# so we have to add -nostdlib to the compiler configuration itself or
4# early compiler tests will fail. This can be removed when picolibc
5# requires at least version 0.54.2 of meson.
6c = ['clang', '-target', 'x86_64-none-elf', '-march=core2', '-mfpmath=sse', '-msse2', '-fno-pic', '-fno-PIE', '-static', '-nostdlib']
7cpp = ['clang', '-target', 'x86_64-none-elf', '-march=core2', '-mfpmath=sse', '-msse2', '-fno-pic', '-fno-PIE', '-static', '-nostdlib']
8c_ld = 'lld'
9cpp_ld = 'lld'
10ar = 'ar'
11as = 'as'
12nm = 'nm'
13strip = 'strip'
14objcopy = 'objcopy'
15# only needed to run tests
16exe_wrapper = ['sh', '-c', 'test -z "$PICOLIBC_TEST" || run-x86 "$@"', 'run-x86']
17
18[host_machine]
19system='linux'
20cpu_family='x86_64'
21cpu='x86_64'
22endian='little'
23
24[properties]
25skip_sanity_check = true
26needs_exe_wrapper = true
27link_spec = '--build-id=none'
28default_flash_addr = '0x00100000'
29default_flash_size = '0x00400000'
30default_ram_addr   = '0x00500000'
31default_ram_size   = '0x00200000'
32