From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56236) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fxUZX-00017G-3L for guix-patches@gnu.org; Wed, 05 Sep 2018 05:58:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fxUZW-0005B8-5s for guix-patches@gnu.org; Wed, 05 Sep 2018 05:58:03 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:41384) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fxUZW-0005B3-0u for guix-patches@gnu.org; Wed, 05 Sep 2018 05:58:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fxUZV-00036F-Us for guix-patches@gnu.org; Wed, 05 Sep 2018 05:58:01 -0400 Subject: [bug#32624] [PATCH] gnu: perl: Add support for cross-compilation Resent-Message-ID: From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <87bm9er7rv.fsf@posteo.net> <878t4iuuaf.fsf@gnu.org> <87bm9d8tah.fsf@gmail.com> Date: Wed, 05 Sep 2018 11:57:44 +0200 In-Reply-To: <87bm9d8tah.fsf@gmail.com> ("=?UTF-8?Q?Rapha=C3=ABl_?= =?UTF-8?Q?M=C3=A9lotte?="'s message of "Tue, 04 Sep 2018 12:13:10 +0200") Message-ID: <87tvn46zc7.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: =?UTF-8?Q?Rapha=C3=ABl_?= =?UTF-8?Q?M=C3=A9lotte?= Cc: 32624@debbugs.gnu.org Hi Rapha=C3=ABl, Rapha=C3=ABl M=C3=A9lotte skribis: > Ok, thanks for checking. > After some web searching and according to the following page, cross-compi= ling 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=E2=80=99s build system, assuming it supports= cross-compilation. Now, I see that Buildroot uses perl-cross, so maybe it=E2=80=99s a sign that it=E2=80=99s unavoidable: https://git.busybox.net/buildroot/tree/package/perl/perl.mk Besides I personally don=E2=80=99t 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 a= rchitectures > is so cool). It is! It=E2=80=99s usually a lot easier with packages that use the GNU bu= ild 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=E2=80=99.