From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1265 invoked by alias); 13 Apr 2004 14:18:05 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 1255 invoked from network); 13 Apr 2004 14:18:03 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sources.redhat.com with SMTP; 13 Apr 2004 14:18:03 -0000 Received: from drow by nevyn.them.org with local (Exim 4.31 #1 (Debian)) id 1BDOjh-0006s4-8m; Tue, 13 Apr 2004 10:18:01 -0400 Date: Tue, 13 Apr 2004 14:26:00 -0000 From: Daniel Jacobowitz To: Ashish Goyal Cc: gdb@sources.redhat.com Subject: Re: Fw: error in ppc-linux-nat.c - cross-compiling gdb 61. for powerpc -linux Message-ID: <20040413141801.GA26371@nevyn.them.org> Mail-Followup-To: Ashish Goyal , gdb@sources.redhat.com References: <02b301c42162$29eaecb0$640a0a0a@austin.kmvtechnologies.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <02b301c42162$29eaecb0$640a0a0a@austin.kmvtechnologies.com> User-Agent: Mutt/1.5.5.1+cvs20040105i X-SW-Source: 2004-04/txt/msg00072.txt.bz2 On Tue, Apr 13, 2004 at 09:18:16AM -0500, Ashish Goyal wrote: > > > > Hi, > My compilations fails in ppc-linux-nat.c . I am cross compiling gdb6.1 with > gcc-3.3.1 on redhat linux 9.0. Here are the commands I run. > ./configure --host=powerpc-linux --target=powerpc-linux --without-sim > > make > > Must remake target `ppc-linux-nat.o'. > gcc -c -g -O2 -I. -I. -I./config -DLOCALEDIR="\"/usr/local/share/locale\" > " -DHAVE_CONFIG_H -I./../include/opcode -I./../readline/.. -I../bfd -I./../b > fd -I./../include -I../intl -I./../intl -DMI_OUT=1 -DTUI=1 -Wimplicit -Wret > urn-type -Wcomment -Wtrigraphs -Wformat -Wparentheses -Wpointer-arith -Wunin > itialized -Wformat-nonliteral -Wunused-label -Wunused-function > ppc-linux-nat.c What are you trying to do? You're using the system (x86) GCC and --host=powerpc-linux means you want to build a PowerPC binary. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer