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 1RF5CT-0000Ev-Gm for garchives@archives.gentoo.org; Sat, 15 Oct 2011 14:26:57 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B820E21C15F; Sat, 15 Oct 2011 14:26:43 +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 79AF221C0DD for ; Sat, 15 Oct 2011 14:25:16 +0000 (UTC) Received: by vws19 with SMTP id 19so2802128vws.40 for ; Sat, 15 Oct 2011 07:25:16 -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=i1JecgZrIH7qc8A3+aHhSzZU6ChXsrZiwERwH5VGB8c=; b=gmpuEOk/LuqUeBDvvjggRm/60cGhOS+CYyoSXxuFScXZUg86BYDYWgjXDG6eR+BPcw KHGong0HNPwmynl2qJhxxDiHi4RWaflcT4dSIzkgAIproNR4hWIrNXeMjmHW42J+al8D NMZHj7CgfYcTdXIiHXavVF7J1IlG7kyobPEu0= 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.96.98 with SMTP id dr2mr13176117vdb.6.1318688715984; Sat, 15 Oct 2011 07:25:15 -0700 (PDT) Received: by 10.52.188.37 with HTTP; Sat, 15 Oct 2011 07:25:15 -0700 (PDT) In-Reply-To: <4E983A76.10806@st.com> References: <4E983A76.10806@st.com> Date: Sat, 15 Oct 2011 16:25:15 +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=20cf307ac8797c4dc204af57247d X-Archives-Salt: X-Archives-Hash: c9a9a6de15aadc0d0b897806e359e9f9 --20cf307ac8797c4dc204af57247d Content-Type: text/plain; charset=ISO-8859-1 Hi Raffaele, how far did you get with compiling rootfs? Do you have complete gentoo installation including kernel compiled for ARM? Would it be possible to make vmdk/any other image for Qemu in which it could be run? I guess it would ease quite many things... As for my progress: I found out that patches from Cross directory does not work, but configure script has some options for cross compilation so I wrote ebuild with different parameters for perl Configure script. It assumes that you have ARM machine ready on network and with ssh daemon running - it uses ssh to transfer cross compiled binaries, run them remotely and uses the output to continue compiling on host pc. I had no problem with establishing that, but configure script still tries to run few binaries compiled for ARM on my x64 host machine. Fight continues! Stay tuned :) 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. > --20cf307ac8797c4dc204af57247d Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Raffaele,
how far did you get with compiling rootfs? Do you have comp= lete gentoo installation including kernel compiled for ARM? Would it be pos= sible to make vmdk/any other image for Qemu in which it could be run? I gue= ss it would ease quite many things...

As for my progress: I found out that patches from Cross directory does = not work, but configure script has some options for cross compilation so I = wrote ebuild with different parameters for perl Configure script. It assume= s that you have ARM machine ready on network and with ssh daemon running - = it uses ssh to transfer cross compiled binaries, run them remotely and uses= the output to continue compiling on host pc. I had no problem with establi= shing that, but configure script still tries to run few binaries compiled f= or ARM on my x64 host machine. Fight continues!

Stay tuned :)
Peter

2011/10/14 Raf= faele BELARDI <raffaele.belardi@st.com>
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 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.

--20cf307ac8797c4dc204af57247d--