From: Mathieu Othacehe <m.othacehe@gmail.com>
To: Guix-devel <guix-devel@gnu.org>, guile-devel <guile-devel@gnu.org>
Subject: Cross-compiling guile libraries
Date: Thu, 21 Mar 2019 14:25:05 +0100 [thread overview]
Message-ID: <87d0mkpdfy.fsf@gmail.com> (raw)
Hello!
To be able to add a cross-compilation option to guix-system (see
https://lists.gnu.org/archive/html/guix-devel/2019-03/msg00062.html), we
need to cross-compile a bunch of guile libraries.
Even if guild has a "target" option allowing to cross-compile sources,
autotools does not seem to have support for guile
cross-compilation. For instance, passing "--host=aarch64-linux-gnu" to
configure script doesn't set the "target" argument of guild to the
specified triplet.
For trivial guile libraries guix has a "guile-build-system" which does
the job alright, but I don't think using this build-system for every
guile library is a solution.
Has anyone already tried to mess with guile.m4 and other stuff in order
to cross-compile a guile library via autotools?
Thanks,
Mathieu
next reply other threads:[~2019-03-21 13:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-21 13:25 Mathieu Othacehe [this message]
2019-03-23 17:03 ` Cross-compiling guile libraries Ludovic Courtès
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87d0mkpdfy.fsf@gmail.com \
--to=m.othacehe@gmail.com \
--cc=guile-devel@gnu.org \
--cc=guix-devel@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 external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.