Re: Error building qnx cross-gdb 6.3

Kris Warkentin
2005-05-24T15:37:35Z

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