From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1REjUe-0004Aj-I7 for garchives@archives.gentoo.org; Fri, 14 Oct 2011 15:16:16 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 18BDD21C07D; Fri, 14 Oct 2011 15:16:06 +0000 (UTC) Received: from mail-vw0-f53.google.com (mail-vw0-f53.google.com [209.85.212.53]) by pigeon.gentoo.org (Postfix) with ESMTP id EE74521C029 for ; Fri, 14 Oct 2011 15:15:06 +0000 (UTC) Received: by vws19 with SMTP id 19so1741808vws.40 for ; Fri, 14 Oct 2011 08:15:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=UFVUjRZnNXE16j0SibIF+2UExlqpcO/cch1MxfqZT5Y=; b=xU9Jwbsx7DLnKlEDlBwIbaaDX76ZlrlhXSuXQCoBMcwaADHR26EMoB3tG3su4zKVsc YYxmbRa5CIPgSrcW4ciegohiXhG5b0HxRVmTgx86KFRUHy0Uc2qU7rTDTif+1HSbxVqQ 0pCKU1b5gkmEznKFlw5ApNlj/o5qb24aucsNw= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.52.185.225 with SMTP id ff1mr8371037vdc.125.1318605306444; Fri, 14 Oct 2011 08:15:06 -0700 (PDT) Received: by 10.52.188.37 with HTTP; Fri, 14 Oct 2011 08:15:06 -0700 (PDT) In-Reply-To: <4E983A76.10806@st.com> References: <4E983A76.10806@st.com> Date: Fri, 14 Oct 2011 17:15:06 +0200 Message-ID: Subject: Re: [gentoo-user] How to cross compile Perl for ARM? From: czernitko To: gentoo-user@lists.gentoo.org Content-Type: multipart/alternative; boundary=bcaec548a3a7e3b9d704af43b8ff X-Archives-Salt: X-Archives-Hash: f27eb44b297f77c0968b61b37e9a3717 --bcaec548a3a7e3b9d704af43b8ff Content-Type: text/plain; charset=ISO-8859-1 Hi Raffaele, "Gentoo Cross Development Guide" is deprecated in favour of Gentoo Embedded project, which so far seems to suit my needs. I had a quick look on CodeSourcery's products a few days ago, but in freely available version they don't seem to offer me more than toolchain compiled with crossdev. Maybe I'm wrong and if I'll get stuck I'll give them a go. AFAIK the biggest disadvantage of crossdev-created toolchain, compared to other cross compilation tools, is that without usage of emulator (like qemu-user) it is not possible to compile things that use in their configure scipts checks that need to be run on the target architecture (like Perl). Sticking to arm-none-linux-gnueabi-emerge offers quite a lot of comfort so far, so I'll see where I can get. Thanks for your tips! Peter 2011/10/14 Raffaele BELARDI > On 10/14/2011 01:14 PM, czernitko wrote: > > Hello! > > I started playing a little bit with cross compilation for ARM > > architecture. Using crossdev I created a toolchain for > > arm-none-linux-gnueabi tuple. > > Now I'd like to emerge some more packages, but perl constantly refuses > > to emerge and it is needed by many packages. > > Not a direct answer to your question, but I managed to cross-build a > functional linux rootfs (including X11/Xfbdev and QTEmbedded) for ARM > using buildroot. I found buildroot much easier to use than trying to > follow the now-deprecated "Gentoo Cross Development Guide". > Also, I used CodeSourcery's toolchain instead of building my own. > --bcaec548a3a7e3b9d704af43b8ff Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Raffaele,
"Gentoo Cross Development Guide" is deprecated in= favour of Gentoo Embedded project, which so far seems to suit my needs. I = had a quick look on CodeSourcery's products a few days ago, but in free= ly available version they don't seem to offer me more than toolchain co= mpiled with crossdev. Maybe I'm wrong and if I'll get stuck I'l= l give them a go. AFAIK the biggest disadvantage of crossdev-created toolch= ain, compared to other cross compilation tools, is that without usage of em= ulator (like qemu-user) it is not possible to compile things that use in th= eir configure scipts checks that need to be run on the target architecture = (like Perl).
Sticking to arm-none-linux-gnueabi-emerge offers quite a lot of comfort so = far, so I'll see where I can get.
Thanks for your tips!

Peter=

2011/10/14 Raffaele BELARDI <raffaele.belardi@st.co= m>
On 10/14/2011 01:14 PM, c= zernitko wrote:
> Hello!
> I started playing a little bit with cross compilation for ARM
> architecture. Using crossdev I created a toolchain for
> arm-none-linux-gnueabi tuple.
> Now I'd like to emerge some more packages, but perl constantly ref= uses
> to emerge and it is needed by many packages.

Not a direct answer to your question, but I managed to cross-build a<= br> functional linux rootfs (including X11/Xfbdev and QTEmbedded) for ARM
using buildroot. I found buildroot much easier to use than trying to
follow the now-deprecated "Gentoo Cross Development Guide".
Also, I used CodeSourcery's toolchain instead of building my own.

--bcaec548a3a7e3b9d704af43b8ff--