Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

About RISC-V compilers? [closed]

Tags:

c

toolchain

riscv

I am new to programming and as well as RISC-V. I have a few questions regarding the RISC-V compilers:

  • Do RISC-V compilers support the C program?
  • From which RISC-V cross compiler can I generate ELF files that accept C program?
  • Can anyone who is familiar with these things please help me in the learning process?
like image 244
Yulia Avatar asked Nov 18 '25 13:11

Yulia


1 Answers

Here is a RISC-V GNU Compiler Toolchain. It is a cross compiler that makes it possible to build ELF files for RISC-V on a standard Linux system.

It can be a bit of a challenge to build a toolchain by yourself, but there seems to be good instructions for this one.

Often you get a pre-built toolchain from a supplier. If you have that I recommend you to use it instead of building one yourself.

like image 84
arghol Avatar answered Nov 20 '25 02:11

arghol



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!