Closed valentinThomazic closed 1 year ago
The current config.sub script does not recognize generic host names such as "riscv-*
$ ../configure --prefix=$RISCV --host=riscv-none-elf checking build system type... x86_64-pc-linux-gnu checking host system type... Invalid configuration `riscv-none-elf': machine `riscv-none' not recognized configure: error: /bin/sh ../scripts/config.sub riscv-none-elf failed
Replacing it with the latest version from https://git.savannah.gnu.org/cgit/config.git/plain/config.sub fixes the issue.
I updated the config.guess as well.
The current config.sub script does not recognize generic host names such as "riscv-*
$ ../configure --prefix=$RISCV --host=riscv-none-elf checking build system type... x86_64-pc-linux-gnu checking host system type... Invalid configuration `riscv-none-elf': machine `riscv-none' not recognized configure: error: /bin/sh ../scripts/config.sub riscv-none-elf failed
Replacing it with the latest version from https://git.savannah.gnu.org/cgit/config.git/plain/config.sub fixes the issue.
I updated the config.guess as well.