config-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RFC] Add "riscv-" for embedded cross toolchains


From: Ben Elliston
Subject: Re: [RFC] Add "riscv-" for embedded cross toolchains
Date: Mon, 9 Jul 2018 19:20:43 +1000
User-agent: Mutt/1.5.24 (2015-08-30)

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]