guix-patches
[Top][All Lists]
Advanced

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

[bug#32624] [PATCH] gnu: perl: Add support for cross-compilation


From: Ludovic Courtès
Subject: [bug#32624] [PATCH] gnu: perl: Add support for cross-compilation
Date: Wed, 05 Sep 2018 11:57:44 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

Hi Raphaël,

Raphaël Mélotte <address@hidden> skribis:

> Ok, thanks for checking.
> After some web searching and according to the following page, cross-compiling 
> perl isn't an easy
> task:
> https://arsv.github.io/perl-cross/index.html
>
> Do you think it would be a good idea to package perl-cross and use it
> when cross-compiling ?

I would prefer to rely on Perl’s build system, assuming it supports 
cross-compilation.

Now, I see that Buildroot uses perl-cross, so maybe it’s a sign that
it’s unavoidable:

  https://git.busybox.net/buildroot/tree/package/perl/perl.mk

Besides I personally don’t consider cross-compilation of Perl a
priority, so unless you have a need for it, you can choose a different
task to work on.  ;-)

> Yes you mentioned it a few month ago, and that helped me a lot back
> then :-)

Great.  :-)

> I wanted to come back to trying to cross-compile some packages because
> I find it interesting (the idea of remotely building packages for other 
> architectures
> is so cool).

It is!  It’s usually a lot easier with packages that use the GNU build
system than with packages that use custom build tools such as Perl.

Let me know if you want to pursue the Perl cross-compilation endeavor
and if not, we can close this issue.

Thanks,
Ludo’.





reply via email to

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