I was running gcc-g++-3.4.4-1, and was running into the same problem of a std::string allocating memory in a different DLL described here:
http://www.cygwin.com/ml/cygwin/2005-10/msg00051.html
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24196

So I update to 3.4.4-2, and yes it fixed the problem for the standard tools. However, it did not fix the problem for "-mno-cygwin" compile option specifying to link with the mingw libraries, and the now old, mingw specific, libstdc++.a. So, I need to upgrade my gcc-mingw-* packages to fix the problem, however they have not been updated to the latest version in the package repositories.

Could someone please upload matching gcc-mingw-* packages that contain the fix applied to 3.4.4-2?


Updated binary packages is of course the ideal. In the mean time, I attempted to build updated packages myself, however I found that the gcc-mingw-g++-20050522-1-src.tar.bz2 package does not meet the source package description described here:
http://cygwin.com/setup.html#package_contents
As the supposed source tarball inside it does not contain source files. It only contains executables, libraries, and headers. It also contains an un-usable configure script, and no build script. This may be ignorance on my part as I've never built a cygwin package from source before, but I could not get it to do much with the files provided.

I've given up now that I need to download the proper gcc-g++ source package, apply the same patch applied to cygwin's 3.4.4-2 version, and attempt to compile it for gcc-mingw.
-J

_________________________________________________________________
Search—Your way, your world, right now! http://imagine-windowslive.com/minisites/searchlaunch/?locale=en-us&FORM=WLMTAG


--
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/

Reply via email to