On Tue, Jul 03, 2018 at 10:41:49AM -0700, Jim Wilson wrote:

> Accepting riscv-linux isn't OK.  That will cause complications.
> Though I'm not sure if that can be easily avoided if we allow
> riscv-elf.

> There are no plans for any tools to accept riscv- as a CPU, so
> adding support for this to config.sub isn't very useful.

In light of this, I have removed riscv- from config.sub because:

> Most GNU tools accept --program-transform-name as a configure
> option, so it is easy to strip off the 32 or 64 in the program name
> at install time if you wish.  That should solve Liviu's problem.

.. I had forgotten about --program-transform-name.  That will indeed
solve the problem _if_ you want your toolchain binaries prefixed with
riscv instead of riscv32/riscv64.

Cheers,
Ben

PS: nice to hear from you, Jim.

Attachment: signature.asc
Description: PGP signature

_______________________________________________
config-patches mailing list
config-patches@gnu.org
https://lists.gnu.org/mailman/listinfo/config-patches

Reply via email to