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: Daniel Jacobowitz <drow at false dot org>
- To: Ion Gaztañaga <ion_g_m at terra dot es>
- Cc: gdb at sources dot redhat dot com, Kris Warkentin <kewarken at qnx dot com>
- Date: Mon, 23 May 2005 11:53:53 -0400
- Subject: Re: Error building qnx cross-gdb 6.3
- References: <000b01c55faf$210b2060$0a001aac@amd1ghzwinxp>
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.
> ar: creating libgdb.a
> ranlib libgdb.a
> make[1]: *** No rule to make target `../intl/libintl.a', needed by
> `gdb.exe'. Stop.
I don't know what causes this but try --disable-nls. Does that help?
> I have no experience building cross-gdb so maybe I'm missing something. But
> the first error regarding remote-nto.o is very confusing to me (seems like
> a missing c file), and I don't know which switch I have to use to solve
> this libintl stuff. I've seen that there is a intl directory in gdb-5.0
> release but it is not present in gdb-6.3, do I have to get it somewhere?.
It was recently removed. I don't remember the outcome of that
discussion.
--
Daniel Jacobowitz
CodeSourcery, LLC