How to Install cpp-riscv64-linux-gnu in Ubuntu 18.04

Install cpp-riscv64-linux-gnu by entering the following commands in the terminal:

sudo apt update
sudo apt install cpp-riscv64-linux-gnu


GNU C preprocessor (cpp) for the riscv64 architecture

The GNU C preprocessor is a macro processor that is used automatically by the GNU C compiler to transform programs before actual compilation. . This package has been separated from gcc for the benefit of those who require the preprocessor but not the cross-compiler for riscv64 architecture. . This is a dependency package providing the default GNU C preprocessor for the riscv64 architecture.

Version: 4:7.3.0-3ubuntu1

Section: universe/interpreters