delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2000/01/08/17:51:05

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-developers-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-developers-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin-developers AT sourceware DOT cygnus DOT com
Date: Sat, 8 Jan 2000 17:53:17 -0500
From: Chris Faylor <cgf AT cygnus DOT com>
To: Corinna Vinschen <corinna AT vinschen DOT de>,
cygdev <cygwin-developers AT sourceware DOT cygnus DOT com>
Subject: Re: ntsec-patch16 (and some other)
Message-ID: <20000108175317.A32503@cygnus.com>
Mail-Followup-To: Corinna Vinschen <corinna AT vinschen DOT de>,
cygdev <cygwin-developers AT sourceware DOT cygnus DOT com>
References: <38778A0D DOT 5633ADAF AT vinschen DOT de> <20000108141938 DOT A7248 AT cygnus DOT com> <38779BDD DOT 12518FDE AT vinschen DOT de> <20000108171256 DOT A31291 AT cygnus DOT com>
Mime-Version: 1.0
X-Mailer: Mutt 1.0i
In-Reply-To: <20000108171256.A31291@cygnus.com>; from cgf@cygnus.com on Sat, Jan 08, 2000 at 05:12:56PM -0500

On Sat, Jan 08, 2000 at 05:12:56PM -0500, Chris Faylor wrote:
>On Sat, Jan 08, 2000 at 09:19:41PM +0100, Corinna Vinschen wrote:
>>In the previous snapshots the compiler got the flag
>>`-D__INSIDE_CYGWIN__' as well. This is not the case
>>in the latest snapshot.
>
>Well, then, that is the problem to fix.  I have done so in our sources.

Here's a patch, btw.

cgf

Index: Makefile.common
===================================================================
RCS file: /cvs/cvsfiles/devo/winsup/Makefile.common,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- Makefile.common	2000/01/08 02:06:52	1.4
+++ Makefile.common	2000/01/08 22:22:38	1.5
@@ -86,10 +86,6 @@
 	     -fno-rtti -fno-exceptions
 COMPILE_CC:=$(CC) $c -nostdinc $(ALL_CFLAGS) -I$(GCC_INCLUDE)
 
-ifeq ($(srcdir),$(cygwin_source))
-COMPILE_CC+=-D__INSIDE_CYGWIN__
-endif
-
 vpath %.a	$(cygwin_build):$(w32api_lib):$(newlib_build)/libc:$(newlib_build)/libm
 
 unexport MAKEOVERRIDES
@@ -121,6 +117,8 @@
 all:
 
 # For auto-rebuilding the Makefile
+
+.PRECIOUS: Makefile
 
 Makefile: Makefile.in $(srcdir)/configure.in config.status
 	$(SHELL) config.status; exec $(MAKE) $(MAKECMDGOALS)
Index: cygwin/Makefile.in
===================================================================
RCS file: /cvs/cvsfiles/devo/winsup/cygwin/Makefile.in,v
retrieving revision 1.190
retrieving revision 1.191
diff -u -r1.190 -r1.191
--- Makefile.in	2000/01/08 02:08:40	1.190
+++ Makefile.in	2000/01/08 22:27:36	1.191
@@ -69,6 +69,8 @@
 #
 include $(srcdir)/../Makefile.common
 
+COMPILE_CC+=-D__INSIDE_CYGWIN__
+
 @SET_MAKE@
 
 # Setup the testing framework, if you have one
@@ -133,8 +135,6 @@
 
 .SUFFIXES:
 .SUFFIXES: .c .cc .def .a .o
-
-.PRECIOUS: Makefile
 
 all: new-$(DLL_NAME) $(LIBGMON_A) $(LIB_NAME) cygrun.exe force
 

- Raw text -


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