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.60) (envelope-from ) id 1FsN7z-0002b2-78 for garchives@archives.gentoo.org; Mon, 19 Jun 2006 17:01:31 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.7/8.13.6) with SMTP id k5JH02Ju012085; Mon, 19 Jun 2006 17:00:02 GMT Received: from chuckr.org (april.chuckr.org [66.92.151.30]) by robin.gentoo.org (8.13.7/8.13.6) with ESMTP id k5JH01Fk026121 for ; Mon, 19 Jun 2006 17:00:01 GMT Received: from [66.92.151.44] (may.chuckr.org [66.92.151.44]) by chuckr.org (Postfix) with ESMTP id E192411481 for ; Mon, 19 Jun 2006 12:42:05 -0400 (EDT) Message-ID: <4496D810.3020807@chuckr.org> Date: Mon, 19 Jun 2006 13:00:00 -0400 From: Chuck Robey User-Agent: Mozilla/5.0 (X11; U; Darwin Power Macintosh; en-US; rv:1.7.5) Gecko/20060312 X-Accept-Language: en-us, en Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-embedded@gentoo.org Reply-to: gentoo-embedded@lists.gentoo.org MIME-Version: 1.0 To: gentoo-embedded@lists.gentoo.org Subject: Re: Antwort: Re: [gentoo-embedded] emerge ROOT question References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: 1ec0acce-03a5-4af1-a7fc-4ffc7253d9ed X-Archives-Hash: d18b33240524e8f9ecf69db5f40a4753 andreas.sumper@cnsystems.at wrote: > > Hi Chuck! > > Chuck Robey schrieb am 06/19/2006 06:47:55 PM: > > > Mike Frisch wrote: > > > > > On 6/17/06, andreas.sumper@cnsystems.at > > > wrote: > > > > > >> just an idea: > > >> What one could do, is building some sort of target-Filesystem and > do a > > >> chroot into that system. Then the compiler has to be changed to your > > >> cross-compile-toolchain and some of the flags in make.conf have to be > > >> changed. After that, a simple emerge in the chrooted environmen > should > > >> create all the needed stuff and cross-compile it for the specified > > >> architecture. > > > > > > > > > Actually, this is pretty much what I'm doing already but I want to > > > wrap the process in a UI which will have issues with a chrooted > > > environment. > > > > > > Thanks for the reply. > > > > Well, I want to be able to put together a Gentoo system but not to use > > Gentoo to do it, if that's remotely possible. I rather like, for > > cross-building a system, the Pengutronix ptxdist stuff. So, I can VERY > > easily use that to build all the normal Linux portions of a system, > it's > > the Gentoo-specific parts (the stuff in /etc, and Portage, I *think* > > that;'s all) that I need to get built, and I don't even have a list of > > what the names of the pieces are, much less any idea where toget the > > sources from. > > > > To be honst, from the Gentoo side of things, I'm pretty much at sea on > > this. No idea how to even begin, although I know software well > enough. > > Could you give me any ideas what the general path ahead of me is? At > > the moment, I'm lookiing at a very messy job of trying to figure out > the > > portions of my Pentium system will just copy over, and that seems > > incredibly wrong to try. There has to be some central archive with > > Gentoo code somewhere, isn't there? > > One thing you could try is creating a traget filesystem with ptxdist. > So you would have at least an idea, which parts have to be put > together and have a look, if you can find the equivalents in the > portage-tree in gentoo. I guess that this should work. I tried ptxdist > for myself, but creating the target-fs did not work properly, nor did > the porting of Qt-embedded work correctly... Yeah, that's the method I intend to use, so far, and I'm working towards it right now, I think they've come a bit since you tried it, it seems to work now, although it's got bugs aplenty still. It's the Gentoo parts that I need help on, I don't even have a clue how to begin for those. Not the Linix parts, in fact, I don't think I need even consider the busy box (and to be honest, I'd rather not, they are SO messed up!) > > BTW, use busybox if possible, to keep your target small. This allows > to use many commands with just one binary and some links. > > Bye, > Andy -- gentoo-embedded@gentoo.org mailing list