Hello Keith,
I am using the riscv elf toolchain to build a C++ program. It
tries to look for headers here:
$ echo | riscv64-unknown-elf-g++ -E -Wp,-v -
ignoring nonexistent directory "/usr/lib/gcc/riscv64-unknown-elf/12.1.0/../../../riscv64-unknown-elf/sys-include"
ignoring nonexistent directory "/usr/lib/gcc/riscv64-unknown-elf/12.1.0/../../../riscv64-unknown-elf/include"
#include "..." search starts here:
#include <...> search starts here:
/usr/lib/gcc/riscv64-unknown-elf/12.1.0/include
/usr/lib/gcc/riscv64-unknown-elf/12.1.0/include-fixed
End of search list.
There's no C++ headers in this location. How should users get C++
headers with the elf toolchain?
Or is this unsupported, and we should instead use the linux toolchain
for C++ programs?
I'm not usually a C++ developer so please clarify if I've made some bad
assumptions here.