https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103271
--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> --- (In reply to qinzhao from comment #1) > was not able to repeat this failure yet due to: > > 1. cannot find a riscv machine either in my company or in gcc farm. > 2. tried to build a cross-compiler on riscv64 from a x86 platform, but > always failed. It's as simple as: $ ../configure --enable-languages=c,c++ --disable-multilib --disable-libsanitizer --disable-bootstrap --target=riscv64-linux-gnu $ make all-host > > is there a good documentation to build cross-compiler? https://gcc.gnu.org/install/build.html#Building-a-cross-compiler