From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19155 invoked by alias); 23 May 2005 15:53:58 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 19033 invoked by uid 22791); 23 May 2005 15:53:55 -0000 Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Mon, 23 May 2005 15:53:55 +0000 Received: from drow by nevyn.them.org with local (Exim 4.50) id 1DaFFZ-0000yi-NA; Mon, 23 May 2005 11:53:53 -0400 Date: Mon, 23 May 2005 15:53:00 -0000 From: Daniel Jacobowitz To: Ion =?iso-8859-1?Q?Gazta=F1aga?= Cc: gdb@sources.redhat.com, Kris Warkentin Subject: Re: Error building qnx cross-gdb 6.3 Message-ID: <20050523155353.GA3642@nevyn.them.org> Mail-Followup-To: Ion =?iso-8859-1?Q?Gazta=F1aga?= , gdb@sources.redhat.com, Kris Warkentin References: <000b01c55faf$210b2060$0a001aac@amd1ghzwinxp> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <000b01c55faf$210b2060$0a001aac@amd1ghzwinxp> User-Agent: Mutt/1.5.8i X-SW-Source: 2005-05/txt/msg00287.txt.bz2 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