unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Vivien Kraus <vivien@planete-kraus.eu>
To: help-guix@gnu.org
Subject: How to install a cross-compile toolchain?
Date: Tue, 17 Dec 2019 19:51:27 +0100	[thread overview]
Message-ID: <874kxydc2l.fsf@planete-kraus.eu> (raw)


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

                 reply	other threads:[~2019-12-17 18:52 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=874kxydc2l.fsf@planete-kraus.eu \
    --to=vivien@planete-kraus.eu \
    --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).