This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fw: error in ppc-linux-nat.c - cross-compiling gdb 61. for powerpc -linux


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]