开源软件名称(OpenSource Name):riscv-software-src/homebrew-riscv开源软件地址(OpenSource Url):https://github.com/riscv-software-src/homebrew-riscv开源编程语言(OpenSource Language):Ruby 100.0%开源软件介绍(OpenSource Introduction):RISC-V ToolchainThis provides packages to install the RISC-V toolchain on OS X using Homebrew. InstallationFirst, install homebrew:
Get this tap:
Build the toolchain:
If you have macOS Monterey (12),
Due to high number of dependences the RISC-V version of OpenOCD is not installed by default. If needed, it can be installed with:
TestingYou can verify your install was successful by:
This will compile and run a hello world, so it will use all of the components (riscv-isa-sim, riscv-pk, and riscv-gnu-toolchain). UpdatingTo pull in the latest version of a package, you can force an install and compile it yourself by:
Supporting 32 bit TargetsBy default the toolchain will enable multilib with support for 32 bit targets. To disable multilib to speed up build times and save space:
TroubleshootingTo support organizational changes, we have had to make the following two naming changes which may cause issues for existing users. It can often be simplest to remove everything (uninstall with
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论