* bug#26732: add '--target=' option for 'guix environment' (similar to 'guix build')
@ 2017-05-01 11:35 Sergei Trofimovich
0 siblings, 0 replies; only message in thread
From: Sergei Trofimovich @ 2017-05-01 11:35 UTC (permalink / raw)
To: 26732
[-- 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 --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-05-01 11:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-01 11:35 bug#26732: add '--target=' option for 'guix environment' (similar to 'guix build') Sergei Trofimovich
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).