From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.54) id 1FJloB-0005CU-IU for garchives@archives.gentoo.org; Thu, 16 Mar 2006 06:18:04 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5.20060308/8.13.5) with SMTP id k2G6H1Pr012157; Thu, 16 Mar 2006 06:17:01 GMT Received: from ender.volumehost.net (adsl-69-154-123-202.dsl.fyvlar.swbell.net [69.154.123.202]) by robin.gentoo.org (8.13.5.20060308/8.13.5) with ESMTP id k2G6D2A7011168 for ; Thu, 16 Mar 2006 06:13:03 GMT Received: from localhost (localhost [127.0.0.1]) by ender.volumehost.net (Postfix) with ESMTP id 824E0106CC for ; Thu, 16 Mar 2006 06:13:02 +0000 (UTC) Received: from ender.volumehost.net ([127.0.0.1]) by localhost (ender.volumehost.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 21912-13 for ; Thu, 16 Mar 2006 06:13:01 +0000 (UTC) Received: from ip70-178-212-144.ks.ks.cox.net (ip70-178-212-144.ks.ks.cox.net [70.178.212.144]) (using SSLv3 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ender.volumehost.net (Postfix) with ESMTP id 293A1106A7 for ; Thu, 16 Mar 2006 06:13:01 +0000 (UTC) From: "Boyd Stephen Smith Jr." To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] OT - I've built my cross-compilation environment; now what? Date: Thu, 16 Mar 2006 00:13:00 -0600 User-Agent: KMail/1.9.1 References: <1142448499.13071.4.camel@camille.espersunited.com> In-Reply-To: <1142448499.13071.4.camel@camille.espersunited.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200603160013.00380.bss03@volumehost.net> X-Virus-Scanned: amavisd-new at volumehost.net X-Archives-Salt: 07a13d8b-b955-4504-bfd9-ee57b6e69cdf X-Archives-Hash: 793e2f9f4467a14c025014848e189c5d On Wednesday 15 March 2006 12:48, Michael Sullivan wrote about '[gentoo-user] OT - I've built my cross-compilation environment; now what?': > I've succeeded in building a cross-compilation environment for an i586 > on an i686 via crossdev, but I'm unsure how to use it. Can anyone help > me? There are no docs for crossdev in /usr/share/doc, no man pages for > it that I can find, and no info pages. I looked at the log files Good luck finding solid cross-compilation documentation for /any/ environment. That's black magic only practiced by high-geeks. ;) Even they avoid it when possible because of the high toll on the practitioners sanity. ;) Most of us only use the cross-compilation toolchain for such geek-bishop activities as distcc. > crossdev created when I ran it and I see things like this: > >>> emerge (1 of 1) cross-i586-gnu-linux/gcc-3.4.5-r1 to / > > But when I try to emerge things myself for the environment, emerge > doesn't know what I'm talking about: > > camille ~ # emerge cross-i586-gnu-linux/mysql > Calculating dependencies > emerge: there are no ebuilds to satisfy "cross-i586-gnu-linux/mysql". It's not quite that easy. You may need to change your make.conf, make.profile, and /etc/portage to correct values for the TARGET architecture (emerge will still use them and a -march=i686 will ruin the packages you build, even if you use i586-pc-linux-gnu-gcc to build them), then make sure and run emerge with the ROOT in your environment set to where you want the alternate installation rooted. Check out http://dev.gentoo.org/~vapier/CROSS-COMPILE-HOWTO . Specifically the very bottom (Step 9) where he talks about installing stuff. WARNING: I've heard some ebuilds don't respect ROOT and/or that ROOT is ignored if you try and specify it in make.conf. NB: The cross-* categories are only for the toolchain. Other packages don't use their category for cross-compiling. -- "If there's one thing we've established over the years, it's that the vast majority of our users don't have the slightest clue what's best for them in terms of package stability." -- Gentoo Developer Ciaran McCreesh -- gentoo-user@gentoo.org mailing list