Mail Archives: cygwin-developers/2000/01/08/17:51:05
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 -