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