From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2122 invoked by alias); 29 Mar 2008 08:35:49 -0000 Received: (qmail 2112 invoked by uid 22791); 29 Mar 2008 08:35:48 -0000 X-Spam-Check-By: sourceware.org Received: from ascomax.hasler.ascom.ch (HELO ascomax.hasler.ascom.ch) (139.79.135.1) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 29 Mar 2008 08:35:27 +0000 Received: from eiger.ma.tech.ascom.ch (eiger.ma.tech.ascom.ch [139.79.100.1]) by ascomax.hasler.ascom.ch (8.14.1/8.14.1) with ESMTP id m2T8ZCCG013758; Sat, 29 Mar 2008 09:35:13 +0100 (MET) Received: from [139.79.100.143] (helo=donkey.ma.tech.ascom.ch) by eiger.ma.tech.ascom.ch with esmtp (Exim 3.16 #1) id 1JfWWZ-0004WE-00; Sat, 29 Mar 2008 09:34:51 +0100 Received: from lunn by donkey.ma.tech.ascom.ch with local (Exim 3.36 #1 (Debian)) id 1JfWWf-0005eW-00; Sat, 29 Mar 2008 09:34:57 +0100 Date: Mon, 31 Mar 2008 02:34:00 -0000 From: Andrew Lunn To: Greg.Chandler@wellsfargo.com Cc: eCos Disuss Message-ID: <20080329083457.GA9162@donkey.ma.tech.ascom.ch> Mail-Followup-To: Greg.Chandler@wellsfargo.com, eCos Disuss References: <1E7A4807A136DF45AD33DB341D93C3BD56B018@msgswbmnmsp46.wellsfargo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1E7A4807A136DF45AD33DB341D93C3BD56B018@msgswbmnmsp46.wellsfargo.com> User-Agent: Mutt/1.5.17+20080114 (2008-01-14) Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: [ECOS] Re: Question about cross-compile builds failing X-SW-Source: 2008-03/txt/msg00187.txt.bz2 On Sat, Mar 29, 2008 at 02:04:16AM -0500, Greg.Chandler@wellsfargo.com wrote: ecos-discuss is a better place to discuss issues like this. > > I've got a system that I am doing builds on so that I can get an PXA-255 > based system up and running. It's x86_64. My cross-compiler works, and > I have booted ARM kernels that it has built. I'm using the ARM-tree > maintained by Russell King. > > Since this isn't a native system, and not the same tree as the running > kernel the headers do not live /usr/include/. > > The build seems to require this no matter what I set at the configure > level. Here's what the configure/make shows. Am I doing something > wrong or was it designed this way? I've also tried undoing the defines > for the USB since I really don't need it, but that didn't work for me > either. The eCos tools you are trying to build are used only on the host system, not the target system. So you should be building x86_64 tools, not arm tools. Or do you really want to build eCos using your ARM Linux system? Andrew -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss