This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Error building qnx cross-gdb 6.3
- From: Kris Warkentin <kewarken at qnx dot com>
- To: Daniel Jacobowitz <drow at false dot org>
- Cc: Ion Gaztañaga <ion_g_m at terra dot es>, gdb at sources dot redhat dot com
- Date: Tue, 24 May 2005 11:38:42 -0400
- Subject: Re: Error building qnx cross-gdb 6.3
- References: <20050523155353.GA3642@nevyn.them.org>
Daniel Jacobowitz wrote:
On Mon, May 23, 2005 at 05:50:19PM +0200, Ion Gaztañaga wrote:
Hello to all,
When trying to build a cross-gdb (gdb 6.3) host=cygwin
target=i386-pc-nto-qnx6.3.0 I've got some problems. I have gcc 3.4.3
and
binutils 2.15 cross-compiled in /tools/i386-pc-nto-qnx6.3.0 working
fine
and /tools/i386-pc-nto-qnx6.3.0/bin has i386-pc-nto-qnx6.3.0-*
executables
and this directory is in my PATH in the last position.
I unzip gdb-6.3 sources in /src, I make a objdir directory
(/src/gdb-6.3/objdir), I cd to it and I type:
$
../configure --target=i386-pc-nto-qnx6.3.0
--prefix=/tools/i386-pc-nto-qnx6.3.0
All fine
$ make
After some compilations, I get:
$ No rule to make target `remote-nto.o', needed by `libgdb.a'
and remote-nto is not in the gdb source tree. If I remove remote-nto.o
from
objdir/gdb Makefile in the following lines:
Kris? This could never have worked.
Argh...my bad. That works on my box (because I have the remote files in
my sandbox) but not on anyone elses. The file gdb/config/i386/nto.mt
accidentally got checked in with "remote-nto.o" in it even though I
haven't checked remote-nto.c into your cvs. If you remove that line, it
should be fine.
I'll fix that right away.
cheers,
Kris