加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
toolchain.txt 1.13 KB
一键复制 编辑 原始数据 按行查看 历史
# 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.
#
# NOTE: If you're using a toolchain since version 20200602-1, it is likely that
# you are using the meson toolchain configuration within the toolchain
# install, rather than this file. This file remains mostly for legacy
# reasons, and will eventually be removed.
[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'
as = '/tools/riscv/bin/riscv32-unknown-elf-as'
[properties]
has_function_printf = false
c_args = [
'-mabi=ilp32',
'-march=rv32imc',
'-mcmodel=medany']
[build_machine]
system = 'linux'
cpu_family = 'x86'
endian = 'little'
[host_machine]
system = 'bare metal'
cpu_family = 'riscv32'
cpu = 'ibex'
endian = 'little'
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化