unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* How to install a cross-compile toolchain?
@ 2019-12-17 18:51 Vivien Kraus
  0 siblings, 0 replies; only message in thread
From: Vivien Kraus @ 2019-12-17 18:51 UTC (permalink / raw)
  To: help-guix


Hello guix!

Trying to understand why gmp fails when cross-compiled as mingw (it
cannot use g++...), I wanted to know if I could get a guix environment,
but with cross-compiled dependencies.  Or at least install a
cross-compiler.

guix environment does not recognize --target=i686-w64-mingw32.

It has a --system, but it seems like a system to bootstrap guix: it does
not work with i686-w64-mingw32 (no linker) nor i686-mingw (guix
environment: error: could not find bootstrap binary 'tar' for system
'i686-mingw')

I cannot find any package that could provide i686-w64-mingw32-
cross-tools when in an environment.

Outside of an environment, I can't seem to find how to install a
cross-compiler.  I tried to install mingw-w64-i686, and I cannot find
any option to guix install that would let me change the target of
gcc-toolchain.

How would you install i686-w64-mingw32-gcc?

Best regards,

Vivien

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-12-17 18:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-12-17 18:51 How to install a cross-compile toolchain? Vivien Kraus

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).