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 <gentoo-embedded+bounces-3247-garchives=archives.gentoo.org@lists.gentoo.org>) id 1NFXa8-00084C-Do for garchives@archives.gentoo.org; Tue, 01 Dec 2009 18:36:12 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 14108E0D76 for <garchives@archives.gentoo.org>; Tue, 1 Dec 2009 18:36:12 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id E0B82E08DC for <gentoo-embedded@lists.gentoo.org>; Tue, 1 Dec 2009 17:48:34 +0000 (UTC) Received: from [192.168.19.59] (hangover.linbsd.net [69.80.193.15]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 520A867C09 for <gentoo-embedded@lists.gentoo.org>; Tue, 1 Dec 2009 17:48:34 +0000 (UTC) Subject: Re: [gentoo-embedded] Cross Dev Tricks + Hardened questions From: Ned Ludd <solar@gentoo.org> To: gentoo-embedded@lists.gentoo.org In-Reply-To: <166af1cf0912010044l5ecf11ebkcc93dbbfe4603ebc@mail.gmail.com> References: <166af1cf0911301024s61e229a6h9116c00ad84673e8@mail.gmail.com> <20091130211241.27358.qmail@stuge.se> <166af1cf0912010044l5ecf11ebkcc93dbbfe4603ebc@mail.gmail.com> Content-Type: text/plain Organization: Gentoo Linux Date: Tue, 01 Dec 2009 09:48:32 -0800 Message-Id: <1259689712.4071.1.camel@hangover> Precedence: bulk List-Post: <mailto:gentoo-embedded@lists.gentoo.org> List-Help: <mailto:gentoo-embedded+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-embedded+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-embedded+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-embedded.gentoo.org> X-BeenThere: gentoo-embedded@lists.gentoo.org Reply-to: gentoo-embedded@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.26.3 Content-Transfer-Encoding: 7bit X-Archives-Salt: a31e379b-05a1-4fc3-bda9-6a59ac3ec02f X-Archives-Hash: a561415630eb27449b4997aad2329daf On Tue, 2009-12-01 at 09:44 +0100, Shinkan wrote: > > 2009/11/30 Peter Stuge <peter@stuge.se> > > > USE CATALYST! > > > To do this you will create stage2, stage3 and stage4 spec > files > (maybe also stage1, I'm not sure on that) for catalyst. It can > produce exactly what you want. > > > Fine, I believe this would be controlled by USE flags for > stage2 and > up. > > > Please just start playing with the catalyst examples. I hope > you will > quickly learn what they produce. > > I already looked a lot into Catalyst but some points doesn't fit to my > plans : > - I have to use a profile if I want to specify things (for instance > ports version) for base stage. I really don't want to build a profile > because they're hard to maintain in a wide use scheme, and because > that's overkill. > - Catatalyst seems to build by substraction (I mean on livecd, it > builds from a stage3, then unmerges and removes things). I want to > build with additive steps (from nothing). > - I want to be able to just emerge one new port or update one on a > target, and with Catalyst I cant. I must rebuild all (yeah, cache is > there but...), and I really need to build just one port on some cases. > > That's why I thought about a "build" directory built from my host with > crossdev. Then I use this build env to build my target with gcc/libc I > want. If I have to build just one port, I can use my build env for > this target again. > Since I choose what to build from nothing, I don't have to use profile > to define what I put in my target or build. I don't break system by > removing things. > My build standard "make.conf" serves as usual, I have nothing more > than a crossdev, a make.conf filling, and some emerge to a given root. > > That's what I want, but I don't know how to achieve this. > If Catalyst can offer me this control, I would be glad to use it. catalyst can do none of the above and it's not cross-compile aware at all. Building from nothing is the right way to handle what you are trying to accomplish. Good luck. -- Ned Ludd <solar@gentoo.org> Gentoo Linux