help-guix
[Top][All Lists]
Advanced

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

Re: Package building with gcc-10


From: zimoun
Subject: Re: Package building with gcc-10
Date: Tue, 17 Nov 2020 16:45:52 +0100

Dear,

On Mon, 16 Nov 2020 at 16:18, "Hamzeh Nasajpour" <h.nasajpour@pantherx.org> 
wrote:

> I have a cpp Application that should be build with
> `gcc-toolchain-10.2.0`. I could build it in local. But seems that in
> package building the `cmake-build-system` is using the
> `gcc-7.5.0`. How can I set a specific version of gcc for building my
> package definition?

You need Package Transformation, from the command line:

   --with-c-toolchain=package=toolchain

or from the package definition: package-with-c-toolchain


The manual entries about the topic:

<https://guix.gnu.org/manual/devel/en/guix.html#Package-Transformation-Options>
<https://guix.gnu.org/manual/devel/en/guix.html#index-package_002dwith_002dc_002dtoolchain>


Hope that helps,
simon



reply via email to

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