Use mold on riscv64

Does anyone knows how use mold with riscv64 backed??

I don't know how to configure it.

Are you trying to cross-compile? If so you will need a glibc for the riscv target on your host system and then point the linker to it such that it doesn't pick the glibc for the host instead. By the way you may want to use cross which handles a lot of the trouble of cross-compiling for you.

@bjorn3 Yes,I will try this.

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.