From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from 26.mail-out.ovh.net ([91.121.27.225]) by bombadil.infradead.org with smtp (Exim 4.72 #1 (Red Hat Linux)) id 1OqUKE-0005gG-GR for barebox@lists.infradead.org; Tue, 31 Aug 2010 17:08:47 +0000 Date: Tue, 31 Aug 2010 19:08:14 +0200 From: Jean-Christophe PLAGNIOL-VILLARD Message-ID: <20100831170814.GC22790@game.jcrosoft.org> References: <4C7CD898.9040902@coresystems.de> <20100831131817.GA1883@game.jcrosoft.org> <4C7D08A3.8000505@coresystems.de> <20100831151819.GA22790@game.jcrosoft.org> <4C7D26FF.2030706@coresystems.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <4C7D26FF.2030706@coresystems.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: barebox-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: barebox on x86 To: Stefan Reinauer Cc: barebox@lists.infradead.org On 17:59 Tue 31 Aug , Stefan Reinauer wrote: > Hi Jean-Christophe, > > On 8/31/10 5:18 PM, Jean-Christophe PLAGNIOL-VILLARD wrote: > > On 15:50 Tue 31 Aug , Stefan Reinauer wrote: > >> Hi Jean-Christophe, > >> > >> On 8/31/10 3:18 PM, Jean-Christophe PLAGNIOL-VILLARD wrote: > >>> why do you touch it? > >> Sorry, touch _what_ in particular? > >> > >>> barebox is self content so I do not understand why you do such modificaton > >>> specially uf we are supposed to do crosscompile > >>> > >> Unfortunately that assumption is wrong, at least for the x86 target. > >> Almost all my patch does is trying to fix exactly that (along with > >> dropping the requirement to use Linux on the host side) > >> > >> And, yes, I am using an i386-elf- cross compiler. > > you need a linux toolchains and it's build correctly > > So, barebox needs glibc and a Linux kernel to build? Hm. Then consider > my patch fixing that problem. Almost. With my patch it's self-content. > But the linking problems are still open. Do you have any hint on those, > too, maybe? > > > I build it on MacOS too > > > How did you overcome the programs in scripts/ using Linux system headers > that are not there with HOSTCC (even with a Linux cross toolchain)? the tool chain provive it and it's the same for compiling the kernel on MacOS Best Regards, J. _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox