[gnutls-devel] Guile-GnuTLS | Cross-compilation of the Guile bindings (#11)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Mon Jul 17 23:03:50 CEST 2023

janneke commented on a discussion: https://gitlab.com/gnutls/guile/-/issues/11#note_1473258863

Simon Josefsson (@jas) writes:


> Simon Josefsson commented:
> Hi. I have merged this patch now.

Great, thanks!

> However, can you describe how I could easily (preferably on a
> debian-like distribution for CI/CD) reproduce this problem? How do I
> even build guile-gnutls for cross compilation? Once we figure out, we
> should test this during the pipeline to avoid regressions.

On Guix, you would do

--8<---------------cut here---------------start------------->8---
guix build --target=i586-pc-gnu guile-gnutls
--8<---------------cut here---------------end--------------->8---

On Debian, if you're lucky, it could just be something like

--8<---------------cut here---------------start------------->8---
# ... setup cross build environment ...
./configure CC_FOR_BUILD=gcc LD_FOR_BUILD=ld \
   --prefix=/your/cross/prefix               \
   --build=x86_64-unknown-linux-gnu --host=i586-pc-gnu
--8<---------------cut here---------------end--------------->8---



Janneke Nieuwenhuizen <janneke at gnu.org>  | GNU LilyPond https://LilyPond.org
Freelance IT https://www.JoyOfSource.com | Avatar® https://AvatarAcademy.com


Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/guile/-/issues/11#note_1473258863
You're receiving this email because of your account on gitlab.com.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20230717/7765dc97/attachment.html>

More information about the Gnutls-devel mailing list