> On 3 Jul 2018, at 20:41, Jim Wilson <j...@sifive.com> wrote:
>
> I think Liviu's argument has a flaw. While it is true that both riscv32 and
> risvc64 can emit both 32-bit and 64-bit code, they have different defaults.
> riscv32 emits 32-bit by default, and riscv64 emits 64-bit by default. That
> is a property we lose if we allow riscv, because it won't be obvious if
> 32-bit or 64-bit code is the default.
The defaults you mention apply to the Linux compilers, which are not the topic
of this thread.
To minimise uncertainty, the embedded cross compilers should not provide such
defaults, the `-march` option should be mandatory, preferably the `-mabi`
option too.
It would be good if the RISC-V compiler would implement this.
Regards,
Liviu
_______________________________________________
config-patches mailing list
config-patches@gnu.org
https://lists.gnu.org/mailman/listinfo/config-patches