Comments (4)
this warning means that that make can't run RISCV GCC. Or you don't have GCC installed or it's name isn't riscv64-unknown-elf-gcc or it is not in the search path. You need to have the RISCV tools, supporting multilib option.
(GCC can be built to support various RISCV extensions both 32 and 64 bit versions. Makefile calls the GCC with appropriate ISA switches, suitable for EH1 .
You can use the gcc with different prefix , supplying GCC_PREFIX= to the make command.
from cores-veer-eh1.
this warning means that that make can't run RISCV GCC. Or you don't have GCC installed or it's name isn't riscv64-unknown-elf-gcc or it is not in the search path. You need to have the RISCV tools, supporting multilib option.
(GCC can be built to support various RISCV extensions both 32 and 64 bit versions. Makefile calls the GCC with appropriate ISA switches, suitable for EH1 .
You can use the gcc with different prefix , supplying GCC_PREFIX= to the make command.
I did have compiled RV32GC GCC and added it to my path in .zshrc file,
./configure --prefix=/opt/rv32gc --with-arch=rv32gc --with-abi=ilp32d
make
The result is riscv32-unknow-elf-gcc
. My question is that the 64bit version gcc is not compatible with any RV32 core, so it should be
GCC_PREFIX=riscv32-unknow-elf
in the makefile.
By the way, does it is mandatory to supporting multilib option?
from cores-veer-eh1.
Nothing is mandatory - you are using this code with no any guarantee ( read license statements)- it's open source project and you are getting it for free. But we advice to build 64 bit multilib RISCV tools version, which can be used with any flavor of RISCV processor. Regardless the said, you can modify everything in your local DB.
from cores-veer-eh1.
I got it. Although the compiled result of multilib version gcc starts with prefix riscv64-unknow-elf
, but it does support any RV32 or RV64 cores by using different -march
, -abi
options, so there are not any compatible problems. Thanks for your explanation.
from cores-veer-eh1.
Related Issues (20)
- fpga_optimize cannot be set to 0 in swerv_config HOT 1
- openocd timeout occurs when trying to load elf file using command 'load_image'. HOT 7
- Try running multi thread program on swerv EH1 core HOT 2
- CoreMark test score HOT 2
- Unable to replicate performance improvement achieved by using different target values HOT 1
- Usage scenarios of different DFFs
- GHR refresh HOT 1
- Fusesoc's sim target is deprecated HOT 10
- Question about pipeline FF enable signals
- facing issues when C code size goes beyond 8KB HOT 1
- Coremark for new extension
- Repo renaming HOT 2
- Blocking Loads/DMA disable
- OpenOCD download to ICCM/DCCM failed. HOT 1
- The new feature of verilator stops building procession HOT 2
- coremark/dhrystone testing can't get 4.9 CM/MHz with rtl simulation or in FPGA
- Not generate waveform when using vcs to test Hello World. HOT 2
- Instruction after pmpaddr0 csr write was not executed HOT 7
- Has the maintenance of this repository been stopped?
- slip in dec_decode_ctrl
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cores-veer-eh1.