all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Cross-compiling guile libraries
@ 2019-03-21 13:25 Mathieu Othacehe
  2019-03-23 17:03 ` Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Mathieu Othacehe @ 2019-03-21 13:25 UTC (permalink / raw)
  To: Guix-devel, guile-devel


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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Cross-compiling guile libraries
  2019-03-21 13:25 Cross-compiling guile libraries Mathieu Othacehe
@ 2019-03-23 17:03 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2019-03-23 17:03 UTC (permalink / raw)
  To: Mathieu Othacehe; +Cc: Guix-devel, guile-devel

Hi Mathieu,

Mathieu Othacehe <m.othacehe@gmail.com> skribis:

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

Libraries like Guix itself pass --target to ‘guild’ just fine, so I
guess we’d have to fix Autotools-based Guile packages that don’t do
that.

Thanks,
Ludo’.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-03-23 17:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-21 13:25 Cross-compiling guile libraries Mathieu Othacehe
2019-03-23 17:03 ` Ludovic Courtès

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.