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: Error building qnx cross-gdb 6.3


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


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