This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Fw: error in ppc-linux-nat.c - cross-compiling gdb 61. for powerpc -linux
- From: Daniel Jacobowitz <drow at false dot org>
- To: Ashish Goyal <agoyal at kmvtechnologies dot com>
- Cc: gdb at sources dot redhat dot com
- Date: Tue, 13 Apr 2004 10:18:01 -0400
- Subject: Re: Fw: error in ppc-linux-nat.c - cross-compiling gdb 61. for powerpc -linux
- References: <02b301c42162$29eaecb0$640a0a0a@austin.kmvtechnologies.com>
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