[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#54239] [PATCH] gnu: Add cross-clang.
From: |
Maxime Devos |
Subject: |
[bug#54239] [PATCH] gnu: Add cross-clang. |
Date: |
Fri, 04 Mar 2022 21:05:12 +0100 |
User-agent: |
Evolution 3.38.3-1 |
Julien Lepiller schreef op do 03-03-2022 om 19:35 [+0100]:
> It won't work, just like it doesn't work for gcc-toolchain. When you do
> (without my patches):
>
> guix build hello --with-c-toolchain=hello=clang-toolchain
> --target=i686-unknown-linux-gnu
>
> it builds, but that's because --with-c-toolchain replaces "gcc"
> (and friends), but the cross package uses "cross-gcc".
>
> guix build hello --with-c-toolchain=hello=gcc-toolchain@7
> --target=i686-unknown-linux-gnu
>
> also builds, but uses the latest gcc instead of gcc-toolchain@7.
In that case, could this limitation be documented in
@deffn {Scheme Procedure} package-with-c-toolchain @var{package} @var{toolchain}
in the manual? Modifying (guix transformations) to also replace
the cross-toolchain would be even better.
Greetings,
Maxime
signature.asc
Description: This is a digitally signed message part