From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20010 invoked by alias); 11 Feb 2008 20:02:34 -0000 Received: (qmail 19994 invoked by uid 22791); 11 Feb 2008 20:02:33 -0000 X-Spam-Check-By: sourceware.org Received: from kuber.nabble.com (HELO kuber.nabble.com) (216.139.236.158) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 11 Feb 2008 20:02:04 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1JOeql-0000fI-Rw for gdb@sourceware.org; Mon, 11 Feb 2008 12:01:59 -0800 Message-ID: <15419409.post@talk.nabble.com> Date: Mon, 11 Feb 2008 20:02:00 -0000 From: Michael Shatz To: gdb@sourceware.org Subject: Re: Problem building cross-debugger In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: shatz@dsit.co.il References: <478E9F4D.24311.2EF0FE9@gerritvn.gpvno.co.za> <47908F14.31772.5AD24E@gerritvn.gpvno.co.za> <4790EF3A.8104.1D28BDA@gerritvn.gpvno.co.za> X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2008-02/txt/msg00061.txt.bz2 Jim Blandy wrote: > > > "Gerrit van Niekerk" writes: >>>> I am trying to use Cygwin to build a Cygwin host, DJGPP target version >>>> of GDB: >>>> config --target=djgpp All libraries seem to build ok (make does not >>>> stop), but >>>> the final link gives a number of undefined references >> >>> There is now only one undefined reference remaining: `_bfd_i386_arch' >> >> This is turning out to be a very one-sided thread :) >> I managed to get the link phase to work by explicitly including >> ../bfd/cpu-i386.o in the gcc command doing the final link. Perhaps >> the GDB maintainers can have a look at the cause of the problem. > > I think the reason you haven't gotten much interaction is that you may > be the only person on the list who's working with such a > configuration. If you could figure out the source of the problem and > suggest a patch, that would get things rolling. > > I got exactly the same problem building i386-elf target on i686-pc-cygwin host with gcc 3.4.4. The problem exists both for binutils-2.16.1 and for binutils-2.17. Thank you, Gerrit. Your tip helped me to go on. Other errors prevented me from building readelf.exe. Hopefullly I could live with one from standard cygwin distribution. -- View this message in context: http://www.nabble.com/Problem-building-cross-debugger-tp14897094p15419409.html Sent from the Sourceware - gdb list mailing list archive at Nabble.com.