From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5989 invoked by alias); 13 Apr 2004 14:26:17 -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 5954 invoked from network); 13 Apr 2004 14:26:16 -0000 Received: from unknown (HELO austin.kmvtechnologies.com) (209.198.134.17) by sources.redhat.com with SMTP; 13 Apr 2004 14:26:16 -0000 Received: from agoyal ([10.10.10.100]) by austin.kmvtechnologies.com with Microsoft SMTPSVC(5.0.2195.6713); Tue, 13 Apr 2004 09:28:11 -0500 Message-ID: <02d401c42163$874017e0$640a0a0a@austin.kmvtechnologies.com> From: "Ashish Goyal" To: "Daniel Jacobowitz" Cc: References: <02b301c42162$29eaecb0$640a0a0a@austin.kmvtechnologies.com> <20040413141801.GA26371@nevyn.them.org> Subject: Re: Fw: error in ppc-linux-nat.c - cross-compiling gdb 61. for powerpc -linux Date: Tue, 13 Apr 2004 14:26:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 13 Apr 2004 14:28:11.0124 (UTC) FILETIME=[8C38FB40:01C42163] X-SW-Source: 2004-04/txt/msg00073.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. Thats correct - I am trying to build a gdb that would run on powerpc-linux. Ashish > > -- > Daniel Jacobowitz > MontaVista Software Debian GNU/Linux Developer