www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1998/09/15/08:29:22

From: DJ Delorie <dj AT delorie DOT com>
Subject: Re: Problem building the 9/14/98 snapshot
15 Sep 1998 08:29:22 -0400 :
Message-ID: <35FE5DA2.167E@delorie.com>
References: <3 DOT 0 DOT 5 DOT 32 DOT 19980915154534 DOT 0081a460 DOT cygnus DOT cygwin32 DOT developers AT mail DOT mel DOT cybec DOT com DOT au>
Mime-Version: 1.0
X-Mailer: Mozilla 3.0 (X11; I; IRIX 5.3 IP22)

> LIBGCC=${shell $(CC_FOR_TARGET) -print-libgcc-file-name}
> D:\CYGNUS\B19\H-I386~1\lib\gcc-lib\...

DJGPP had the same problem.  What I ended up doing was this:

ifeq ($(LIBGCCA),)
LIBGCCA := $(shell $(CROSS_GCC) -print-file-name=libgcc.a)
LIBGCCA := $(subst \,/,$(LIBGCCA))
export LIBGCCA
endif

This also reduced the number of times gcc had to be called during a
build, but relies on GNU make, which I don't think we can do for
cygwin (might be cross-built from a gmake-less machine).

- Raw text -


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