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 = ['ccache', 'x86_64-linux-gnu-gcc', '-march=core2', '-mfpmath=sse', '-msse2', '-fno-pic', '-fno-PIE', '-static', '-nostdlib']
7ar = 'x86_64-linux-gnu-ar'
8as = 'x86_64-linux-gnu-as'
9nm = 'x86_64-linux-gnu-nm'
10strip = 'x86_64-linux-gnu-strip'
11objcopy = 'x86_64-linux-gnu-objcopy'
12# only needed to run tests
13exe_wrapper = ['sh', '-c', 'test -z "$PICOLIBC_TEST" || run-x86_64 "$@"', 'run-x86_64']
14
15[host_machine]
16system='linux'
17cpu_family='x86_64'
18cpu='x86_64'
19endian='little'
20
21[properties]
22skip_sanity_check = true
23needs_exe_wrapper = true
24link_spec = '--build-id=none'
25default_flash_addr = '0x00100000'
26default_flash_size = '0x00400000'
27default_ram_addr   = '0x00500000'
28default_ram_size   = '0x00200000'
29