Hello Maxime and Ekaitz,
Maxime Devos <maximede...@telenet.be> writes:

> Ekaitz Zarraga schreef op di 07-06-2022 om 15:43 [+0000]:
> Proposed solution:
>
>   * rename platform-linux-architecture to
>     '%platform-linux-architecture'
>     and define a wrapper 'platform-linux-architecture' displaying
>     a proper error message ‘unsupported target’ or such.
>
> and
>
>   * use "riscv64-linux-gnu" instead of "riscv64-unknown-linux-gnu"
>     (as expected by (guix platforms riscv)).

I don't think we should deviate from the usual behaviour of a procedure
returning #f it wasn't able to find the thing it was searching for.
Ideally, cross-libc should take a platform argument itself, so that we
can lookup the target earlier and throw an exception there instead.

WDYT?

Best,
-- 
Josselin Poiret



Reply via email to