delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1998/09/15/08:42:28

From: khan AT xraylith DOT wisc DOT edu (Mumit Khan)
Subject: Re: Problem building the 9/14/98 snapshot
15 Sep 1998 08:42:28 -0700 :
Message-ID: <9809151521.AA22987.cygnus.cygwin32.developers@modi.xraylith.wisc.edu>
References: <3 DOT 0 DOT 5 DOT 32 DOT 19980915154534 DOT 0081a460 AT mail DOT mel DOT cybec DOT com DOT au>
To: TYann AT vet DOT com DOT au (Trevor Yann)
Cc: cygwin32-developers AT cygnus DOT com, scox AT cygnus DOT com

TYann AT vet DOT com DOT au (Trevor Yann) writes:
> I had a little trouble building the latest snapshot.
> 
> The makefile in the winsup directory contains:
> 
> LIBGCC=${shell $(CC_FOR_TARGET) -print-libgcc-file-name}
> 
> Unfortunately the gcc that I am using (Mumit's egcs 1.02) prints the
> following for the libgcc filename:
> 
> D:\CYGNUS\B19\H-I386~1\lib\gcc-lib\i386-cygwin32\egcs-2.90.27\libgcc.a
> 
> Note the backslashes, which are later interpreted as part of an escape
> sequence.

The following change to egcs-1.0.2 and newer causes the win32 style path:

  Mon Mar 30 13:11:05 1998  Stan Cox  <scox AT cygnus DOT com>

	  * gcc.c, cccp.c, cpplib.c, collect2.c (GET_ENVIRONMENT): Added.
	  cygwin32 can override this to allow both unix and win32 style PATHs.

	  * i386/xm-cygwin32.h (GET_ENVIRONMENT): Defined to allow win32
	  style environment paths.

Note that this also causes problems when you use gcc to extract the
dependencies, since make gets horribly confused when running in Unix
mode.

Fortunately, I never use win32 to build anything, including the
development tools, so it doesn't bother me ;-)

Regards,
Mumit

- Raw text -


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