Subject: Re: bug#55643: [PATCH] gnu: GCC: Add cross environment variables patch to GCC 12.
From: Ludovic Courtès <[email-masked]>
To: [email-masked]
Cc: [email-masked]
Date: Mon, 30 May 2022 16:08:30 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi Morgan,

[email-masked] skribis:

> From: Morgan Smith <[email-masked]>
>
> * gnu/packages/patches/gcc-12-cross-environment-variables.patch : New file.
> * gnu/local.mk (dist_patch_DATA): Add
> gcc-12-cross-environment-variables.patch.
> * gnu/packages/cross-base.scm (cross-gcc)[source](patches): Apply the patch.

Applied, thanks!

It’s annoying that there’s currently no easy way to test that from the
command line.  For instance, this won’t do what we want:

  guix build --with-c-toolchain=coreutils=gcc-toolchain@12 \
     --target=arm-linux-gnueabihf coreutils

Anyway, future work…

Ludo’.