Fixing the state of C++ in Cygwin

Steven Brown swbrown@ucsd.edu
Sun Apr 23 04:44:00 GMT 2006


Steven Brown wrote:

So, time for phase 2:

> C++ programs are also affected by gcc bug #24196[1] (passing
> std::string between exes and dlls), which causes hard to track down
> crashes.

This was discussed in an earlier thread[2] and the conclusion seemed to 
be that building with --enable-fully-dynamic-string[3] works around[4] 
this bug, and that gcc would be rebuilt[5] with it.  I've built it as 
such as well and verified that it does seem to fix the bug, and have 
also made some m4 for autoconf[6] to detect if the bug exists at 
configure time.

The discussion on 10/2005 seems to have stalled without a new gcc built 
with --enable-fully-dynamic-string being distributed.  Can gcc get 
rebuilt with this option?


[1] http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24196
[2] http://thread.gmane.org/gmane.os.cygwin/69962/focus=69962
[3] http://gcc.gnu.org/onlinedocs/libstdc++/configopts.html
[4] http://article.gmane.org/gmane.os.cygwin/69989
[5] http://article.gmane.org/gmane.os.cygwin/69996
[6] https://svn.variadic.org/public/trunk/ax_dll_string_fix/ax_dll_string.m4


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list