www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1998/09/15/06:14:01

From: cgf AT cygnus DOT com (Christopher Faylor)
Subject: Re: Problem building the 9/14/98 snapshot
15 Sep 1998 06:14:01 -0700 :
Message-ID: <19980915084851.A25942.cygnus.cygwin32.developers@cygnus.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
To: DJ Delorie <dj AT delorie DOT com>, cygwin32-developers AT cygnus DOT com

On Tue, Sep 15, 1998 at 08:29:22AM -0400, DJ Delorie wrote:
>> 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).

The makefile already had gnumake-isms so I figured it was safe.

-- 
cgf AT cygnus DOT com
http://www.cygnus.com/

- Raw text -


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