X-Sybari-Trust: f1d2b650 ca231590 99595932 00000138 From: Martin Stromberg Message-Id: <200212160558.GAA28167@lws256.lu.erisoft.se> Subject: Re: Building tests with debug info using gcc 3.x [PATCH] To: djgpp-workers AT delorie DOT com Date: Mon, 16 Dec 2002 06:58:11 +0100 (MET) In-Reply-To: <3DFC4F05.8EBEA54A@phekda.freeserve.co.uk> from "Richard Dawe" at Dec 15, 2002 09:44:37 AM X-Mailer: ELM [version 2.5 PL3] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > Index: tests/makefile.inc > =================================================================== > RCS file: /cvs/djgpp/djgpp/tests/makefile.inc,v > retrieving revision 1.3 > diff -p -u -3 -r1.3 makefile.inc > --- tests/makefile.inc 1 Feb 2001 19:38:30 -0000 1.3 > +++ tests/makefile.inc 14 Dec 2002 16:36:28 -0000 > @@ -1,3 +1,4 @@ > +# Copyright (C) 2002 DJ Delorie, see COPYING.DJ for details > # Copyright (C) 2001 DJ Delorie, see COPYING.DJ for details > > include $(TOP)/../makefile.def > @@ -41,7 +42,10 @@ export LIBGCCA > endif > > ifeq ($(DJGPP_DJL),) > +DJGPP_DJL := $(shell $(CROSS_GCC) $(GCC_OPT) -print-file-name=djgpp-x.djl) > +ifeq ($(DJGPP_DJL),djgpp-x.djl) Should it really be "ifeq" here? > DJGPP_DJL := $(shell $(CROSS_GCC) $(GCC_OPT) -print-file-name=djgpp.djl) > +endif > DJGPP_DJL := $(subst \,/,$(DJGPP_DJL)) > export DJGPP_DJL > endif Right, MartinS