delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2000/12/07/16:39:37

Date: Thu, 07 Dec 2000 23:18:33 +0200
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: Laurynas Biveinis <lauras AT softhome DOT net>
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

> Date: Thu, 07 Dec 2000 19:52:29 +0100
> From: Laurynas Biveinis <lauras AT softhome DOT net>
> 
> 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019