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 1NGG3w-0000Cl-MZ for garchives@archives.gentoo.org; Thu, 03 Dec 2009 18:05:57 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4E77AE07A1 for ; Thu, 3 Dec 2009 18:05:56 +0000 (UTC) Received: from mail1.nippynetworks.com (mail1.nippynetworks.com [212.227.250.41]) by pigeon.gentoo.org (Postfix) with ESMTP id 52C28E064F for ; Thu, 3 Dec 2009 16:50:53 +0000 (UTC) Received: from localhost (mail1.nippynetworks.com [127.0.2.1]) by mail1.nippynetworks.com (Postfix) with ESMTP id 096226755FE for ; Thu, 3 Dec 2009 16:50:51 +0000 (GMT) X-Virus-Scanned: amavisd-new at nippynetworks.com Received: from mail1.nippynetworks.com ([127.0.2.1]) by localhost (mail1.nippynetworks.com [127.0.2.1]) (amavisd-new, port 10024) with LMTP id W-n+8dW3LodO for ; Thu, 3 Dec 2009 16:50:50 +0000 (GMT) Received: from ed-wildgooses-macbook-pro.local (office.nippynetworks.com [94.194.201.187]) (Authenticated sender: edward@wildgooses.com) by mail1.nippynetworks.com (Postfix) with ESMTPSA id AAA346755F1 for ; Thu, 3 Dec 2009 16:50:50 +0000 (GMT) Message-ID: <4B17EC69.9090905@wildgooses.com> Date: Thu, 03 Dec 2009 16:50:49 +0000 From: Ed W User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-embedded@lists.gentoo.org Reply-to: gentoo-embedded@lists.gentoo.org MIME-Version: 1.0 To: gentoo-embedded@lists.gentoo.org Subject: Re: [gentoo-embedded] Cross emerging to a given root. References: <166af1cf0912020946g110c8d53ib1d844a5b370d7b7@mail.gmail.com> <4B16C97C.2050709@gmail.com> In-Reply-To: <4B16C97C.2050709@gmail.com> Content-Type: multipart/alternative; boundary="------------040205060502040001020309" X-Archives-Salt: 70fb963a-20d4-4671-9071-deec3a89c5fe X-Archives-Hash: 7341239171e070f272e2ca0a9066fe9a This is a multi-part message in MIME format. --------------040205060502040001020309 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Ryan Tandy wrote: > Shinkan wrote: > >> I emerged a cross-compiler on my host. >> It's not to compile to a different arch than my host, but to compile >> with given versions of glibc/binutils, to be sure that some bins will >> run on my target system. >> > > If you aren't cross compiling, you could start a chroot using an > appropriate stage for your target architecture. Then once you had the > appropriate toolchain set up in that chroot you could install packages > in that chroot, build them there and merge them to a different ROOT, or > even just build binary packages. I don't think crossdev is necessary at > all for what you're trying to do. > > As stated previously this is the "tiny gentoo" writeup on the gentoo wiki. Works very nicely Ed W --------------040205060502040001020309 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Ryan Tandy wrote:
Shinkan wrote:
  
I emerged a cross-compiler on my host.
It's not to compile to a different arch than my host, but to compile
with given versions of glibc/binutils, to be sure that some bins will
run on my target system.
    

If you aren't cross compiling, you could start a chroot using an
appropriate stage for your target architecture.  Then once you had the
appropriate toolchain set up in that chroot you could install packages
in that chroot, build them there and merge them to a different ROOT, or
even just build binary packages.  I don't think crossdev is necessary at
all for what you're trying to do.

  

As stated previously this is the "tiny gentoo" writeup on the gentoo wiki.=C2=A0 Works very nicely

Ed W
--------------040205060502040001020309--