Skip to content
This repository has been archived by the owner on Jan 16, 2023. It is now read-only.

Question regarding the quick start #337

Open
huanpass opened this issue Feb 21, 2021 · 2 comments
Open

Question regarding the quick start #337

huanpass opened this issue Feb 21, 2021 · 2 comments

Comments

@huanpass
Copy link

Hi,

The quick start says export RISCV=/path/to/install/riscv/toolchain. I am a beginner to RISCV. Can i ask does the toolchain here means the riscv-gnu-toolchain namely the compiler? I wonder how i can set it up. It will be best if example provided.

Many thanks!

@jim-wilson
Copy link
Collaborator

Yes, you need a riscv64-unknown-elf toolchain like riscv-gnu-toolchain, or an equivalent one. You can try building riscv-gnu-toolchain. Or you can try downloading one. There are some toolchain binaries on the SiFive web site on the software page. Debian has a toolchain that might work, but I think you would need a very recent version of debian to get access to it.

@RaoShri
Copy link

RaoShri commented Mar 10, 2021

Hi Huanpass,
You would have added PATH to riscv toolchain while installing riscv-toolcahin : https://github.com/riscv/riscv-gnu-toolchain
You would have added this in your ./bashrc file.
Ex : I had installed it in /opt/riscv/bin/ so my command would be:
export RISCV=/opt/riscv/bin

Hope this helps.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants