From: Sergei Trofimovich <slyfox@inbox.ru>
To: 26732@debbugs.gnu.org
Subject: bug#26732: add '--target=' option for 'guix environment' (similar to 'guix build')
Date: Mon, 1 May 2017 12:35:35 +0100 [thread overview]
Message-ID: <20170501123535.70f960a5@sf> (raw)
[-- Attachment #1: Type: text/plain, Size: 749 bytes --]
[ context: https://lists.gnu.org/archive/html/guix-devel/2017-02/msg00966.html ]
Currently 'guix build' supports '--target=' option to allow cross-compilation,
but 'guix environment' doe not. Sometimes it would be nice to peek at the
environment that 'guix build' creates.
Concrete example:
When debugging 're2' cross-compilation error I used the following command
to build a package:
./pre-inst-env guix build --check re2 --target=alpha-unknown-linux-gnu --no-grafts
I was not sure what does g++ vs. TARGET-g++ means in guix.
Would be nice to have an ability to get exactly build environment as:
./pre-inst-env guix environment re2 --target=alpha-unknown-linux-gnu --no-grafts
Thanks!
--
Sergei
[-- Attachment #2: Цифровая подпись OpenPGP --]
[-- Type: application/pgp-signature, Size: 195 bytes --]
reply other threads:[~2017-05-01 11:37 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20170501123535.70f960a5@sf \
--to=slyfox@inbox.ru \
--cc=26732@debbugs.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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
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).