This is the mail archive of the cygwin-developers mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC] Cygwin libstdc++ plan (operator new/delete replacement)


Dave Korn wrote:

>     It'll be a simple patch to add -mno-use-libstdc-wrappers to the
> appropriate CFLAGS or CXXFLAGS, I'll have something soon.

  I just got called away, I'll be AFK for a couple of hours; here's what I've
set building (not complete and as yet untested) just in case I get hit by a bus.

    cheers,
      DaveK

Index: winsup/cygwin/Makefile.in
===================================================================
RCS file: /cvs/src/src/winsup/cygwin/Makefile.in,v
retrieving revision 1.229
diff -p -u -r1.229 Makefile.in
--- winsup/cygwin/Makefile.in	12 Jul 2009 21:15:46 -0000	1.229
+++ winsup/cygwin/Makefile.in	2 Oct 2009 15:31:32 -0000
@@ -55,7 +55,8 @@ CC:=@CC@
 # FIXME: Which is it, CC or CC_FOR_TARGET?
 CC_FOR_TARGET:=$(CC)
 CFLAGS=@CFLAGS@
-override CFLAGS+=-MMD ${$(*F)_CFLAGS} -Werror -fmerge-constants -ftracer $(CCEXTRA)
+override CFLAGS+=-MMD ${$(*F)_CFLAGS} -Werror -fmerge-constants -ftracer \
+  -mno-use-libstdc-wrappers $(CCEXTRA)
 CXX=@CXX@
 override CXXFLAGS=@CXXFLAGS@
 
cvs diff: winsup/cygwin/how-crt-and-initfini.txt is a new entry, no comparison available
cvs diff: winsup/cygwin/how-cxx-abi.txt is a new entry, no comparison available

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]