From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18570 invoked by alias); 17 May 2002 15:02:48 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 18447 invoked from network); 17 May 2002 15:02:44 -0000 Received: from unknown (HELO nevyn.them.org) (128.2.145.6) by sources.redhat.com with SMTP; 17 May 2002 15:02:44 -0000 Received: from drow by nevyn.them.org with local (Exim 3.35 #1 (Debian)) id 178jFk-0002C7-00; Fri, 17 May 2002 11:02:44 -0400 Date: Fri, 17 May 2002 08:02:00 -0000 From: Daniel Jacobowitz To: Eli Zaretskii Cc: ac131313@cygnus.com, gdb-patches@sources.redhat.com, dj@delorie.com Subject: Re: [RFA] Type cleanups Message-ID: <20020517150244.GA8388@nevyn.them.org> Mail-Followup-To: Eli Zaretskii , ac131313@cygnus.com, gdb-patches@sources.redhat.com, dj@delorie.com References: <20020513003359.GA11672@nevyn.them.org> <3CDF3081.1020900@cygnus.com> <20020513135950.GB19484@nevyn.them.org> <6480-Fri17May2002110920+0300-eliz@is.elta.co.il> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6480-Fri17May2002110920+0300-eliz@is.elta.co.il> User-Agent: Mutt/1.5.1i X-SW-Source: 2002-05/txt/msg00717.txt.bz2 On Fri, May 17, 2002 at 11:09:20AM +0300, Eli Zaretskii wrote: > > Date: Mon, 13 May 2002 09:59:50 -0400 > > From: Daniel Jacobowitz > > > > Several targets (i586-pc-msdosdjgpp, sparc-elf, sparc64-elf) > > failed with this message (also JB_SP for Sparc): > > > > In file included from /usr/include/setjmp.h:30, > > from ../../src-build/gdb/top.c:58: > > /usr/include/bits/setjmp.h:31: warning: `JB_PC' redefined > > tm.h:57: warning: this is the location of the previous definition > > make[1]: *** [top.o] Error 1 > > How come /usr/include/setjmp.h is being used for the DJGPP build? It > should have used the headers from the cross-compilation toolkit, > i.e. the headers that come with DJGPP development enviroment. And > those don't define no steenking JB_PC. > > What am I missing? Are we talking about building a native DJGPP port > of GDB, or about something else? Cross build, not foreign host build - i.e. an i386-linux -> djgpp cross debugger. is needed for GDB to use on its own, and does define these constants. -- Daniel Jacobowitz Carnegie Mellon University MontaVista Software Debian GNU/Linux Developer