1[binaries]
2c = ['riscv64-unknown-elf-gcc', '-nostdlib']
3cpp = ['riscv64-unknown-elf-g++', '-nostdlib']
4ar = 'riscv64-unknown-elf-ar'
5as = 'riscv64-unknown-elf-as'
6nm = 'riscv64-unknown-elf-nm'
7strip = 'riscv64-unknown-elf-strip'
8# only needed to run tests
9exe_wrapper = ['sh', '-c', 'test -z "$PICOLIBC_TEST" || run-riscv "$@"', 'run-riscv']
10
11[host_machine]
12system = 'unknown'
13cpu_family = 'riscv32'
14cpu = 'riscv32'
15endian = 'little'
16
17[properties]
18c_args = ['-msave-restore', '-fshort-enums', '-march=rv32imac', '-mabi=ilp32']
19cpp_args = ['-msave-restore', '-fshort-enums', '-march=rv32imac', '-mabi=ilp32']
20c_link_args = ['-msave-restore', '-fshort-enums', '-march=rv32imac', '-mabi=ilp32']
21cpp_link_args = ['-msave-restore', '-fshort-enums', '-march=rv32imac', '-mabi=ilp32']
22skip_sanity_check = true
23default_flash_addr = '0x80000000'
24default_flash_size = '0x00200000'
25default_ram_addr   = '0x80200000'
26default_ram_size   = '0x00200000'
27