riscv-linux | RISC-V Linux Port
kandi X-RAY | riscv-linux Summary
kandi X-RAY | riscv-linux Summary
RISC-V Linux Port
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of riscv-linux
riscv-linux Key Features
riscv-linux Examples and Code Snippets
Community Discussions
Trending Discussions on riscv-linux
QUESTION
I have to run riscv-tests and SPEC2006 on riscv-linux (booted) on FPGA. I would like to know what is the compilation toolchain to be used for this flow.
I understand that riscv-linux has to be compiled with riscv64-linux-gcc. However, I'm unclear that about riscv-tests. Can riscv-elf-gcc be used to compile riscv-tests and run on riscv-linux? I read some of the posted mentioned in stackoverflow about SPEC2006 and bbl (both compiled with riscv-linux-gcc). I want to run riscv-tests also. Should they also be compiled with (riscv-linux-gcc) ?
Thanks!
...ANSWER
Answered 2019-Jul-02 at 16:50To compile bbl or baremetal applications like riscv-tests you should you riscv64-unknown-elf-
or riscv32-unknown-elf-
(with Newlib) .
Because riscv64-linux
contains more libraries that make compilation process complicated.We mainly use riscv64-linux to compile application that run on riscv-linux.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install riscv-linux
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page