forked from sjgitty/opentitan
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtoolchain.txt
41 lines (36 loc) · 971 Bytes
/
toolchain.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Copyright lowRISC contributors.
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0
# Meson RISCV toolchain configuration.
[binaries]
c = '/tools/riscv/bin/riscv32-unknown-elf-gcc'
cpp = '/tools/riscv/bin/riscv32-unknown-elf-g++'
ar = '/tools/riscv/bin/riscv32-unknown-elf-ar'
ld = '/tools/riscv/bin/riscv32-unknown-elf-ld'
objdump = '/tools/riscv/bin/riscv32-unknown-elf-objdump'
objcopy = '/tools/riscv/bin/riscv32-unknown-elf-objcopy'
strip = '/tools/riscv/bin/riscv32-unknown-elf-strip'
[properties]
has_function_printf = false
c_args = [
'-fvisibility=hidden',
'-g',
'-mabi=ilp32',
'-march=rv32imc',
'-mcmodel=medany',
'-nostartfiles',
'-nostdlib',
'-Os',
'-static',
'-Wall',
'-Werror']
c_link_args = ['-nostdlib']
[build_machine]
system = 'linux'
cpu_family = 'x86'
endian = 'little'
[host_machine]
system = 'bare metal'
cpu_family = 'riscv32'
cpu = 'ibex'
endian = 'little'