I got the Linux toolchain built, but when I try to build the Linux kernel I get the following error:
riscv64-unknown-linux-gnu-gcc: error: unrecognized command line option '-m64’
riscv64-unknown-linux-gnu-gcc: error: unrecognized command line option '-m64’
riscv64-unknown-linux-gnu-gcc: error: unrecognized command line option ‘-mno-float’; did you mean ‘-mno-plt’?