guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Cross-compiling guile libraries


From: Mathieu Othacehe
Subject: Cross-compiling guile libraries
Date: Thu, 21 Mar 2019 14:25:05 +0100
User-agent: mu4e 1.0; emacs 26.1

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]