Date: Thu, 07 Dec 2000 23:18:33 +0200 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: Laurynas Biveinis Message-Id: <2110-Thu07Dec2000231832+0200-eliz@is.elta.co.il> X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.6 CC: djgpp-workers AT delorie DOT com In-reply-to: <3A2FDC6D.86AF8881@softhome.net> (message from Laurynas Biveinis on Thu, 07 Dec 2000 19:52:29 +0100) Subject: Re: Bug in tests/makefile.inc References: <3A2FDC6D DOT 86AF8881 AT softhome DOT net> 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 > Date: Thu, 07 Dec 2000 19:52:29 +0100 > From: Laurynas Biveinis > > There is a line saying > > LINK = ld $(LDFLAGS) $^ -o $@ ${LIB}/libgcc.a -T ${TOP}/../../lib/djgpp.djl > > However, current GCC libgcc.a lives in lib/gcc-lib/djgpp/X.YZ/libgcc.a. This should be rewritten to use something like this (lifted from src/makefile.inc which is used to build djdev): ifeq ($(LIBGCCA),) LIBGCCA := $(shell $(CROSS_GCC) -print-file-name=libgcc.a) LIBGCCA := $(subst \,/,$(LIBGCCA)) export LIBGCCA endif