From: zimoun <zimon.toutoune@gmail.com>
To: Hamzeh Nasajpour <h.nasajpour@pantherx.org>,
SuarezMiguelC via <help-guix@gnu.org>
Subject: Re: Package building with gcc-10
Date: Tue, 17 Nov 2020 16:45:52 +0100 [thread overview]
Message-ID: <86pn4cng0f.fsf@gmail.com> (raw)
In-Reply-To: <043080b9-625a-4d7b-8d9d-cb7ebc235d3d@www.fastmail.com>
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
next prev parent reply other threads:[~2020-11-17 15:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-16 12:48 Package building with gcc-10 Hamzeh Nasajpour
2020-11-17 15:45 ` zimoun [this message]
2020-11-18 18:17 ` Jan Wielkiewicz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86pn4cng0f.fsf@gmail.com \
--to=zimon.toutoune@gmail.com \
--cc=h.nasajpour@pantherx.org \
--cc=help-guix@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).