From: Daniel Jacobowitz <drow@false.org>
To: Ashish Goyal <agoyal@kmvtechnologies.com>
Cc: gdb@sources.redhat.com
Subject: Re: Fw: error in ppc-linux-nat.c - cross-compiling gdb 61. for powerpc -linux
Date: Tue, 13 Apr 2004 15:12:00 -0000 [thread overview]
Message-ID: <20040413142622.GA26674@nevyn.them.org> (raw)
In-Reply-To: <02d401c42163$874017e0$640a0a0a@austin.kmvtechnologies.com>
On Tue, Apr 13, 2004 at 09:28:02AM -0500, Ashish Goyal wrote:
>
>
> > 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
Then don't use an x86 native GCC to do it.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
next prev parent reply other threads:[~2004-04-13 14:26 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-13 14:18 Ashish Goyal
2004-04-13 14:26 ` Daniel Jacobowitz
2004-04-13 14:26 ` Ashish Goyal
2004-04-13 15:12 ` Daniel Jacobowitz [this message]
2004-04-13 20:07 Michael Elizabeth Chastain
2004-04-14 15:08 ` Ashish Goyal
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040413142622.GA26674@nevyn.them.org \
--to=drow@false.org \
--cc=agoyal@kmvtechnologies.com \
--cc=gdb@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox