Troubles building cross-compiler; target 64-bit RISC-V

Segher Boessenkool segher@kernel.crashing.org
Mon Aug 5 19:30:00 GMT 2019


On Mon, Aug 05, 2019 at 09:21:47PM +0200, 64m@tutamail.com wrote:
> I have deleted everything in my build directory. Then I ran configure again. The thing is my binutils are named riscv64-ar, riscv64-as, riscv64-ld not riscv64-elf-ar, riscv64-elf-as etc. It seems it is default behavior. How do I tell configure it should use these?

Configure with --with-as= etc.?

(Or build a binutils with the same program prefix, that is the simpler
and more obvious way to do things).


Segher



More information about the Gcc-help mailing list