std::string and crtdll problem

Mumit Khan khan@NanoTech.Wisc.EDU
Sat Jan 29 11:42:00 GMT 2000

On Fri, 28 Jan 2000, henrik wrote:

> Hi!
> Could anybody please tell me why the following program crashes with a sad
> [main] C:\prj\silly\a.exe 1098 (0) handle_exceptions: Exception: STATUS_STACK_OVERFLOW
> [main] a 1098 (0) handle_exceptions: Dumping stack trace to a.exe.core
> when compiled with 'gcc  -lstdc++ -lcrtdll' but not when compiled with
> 'gcc  -lstdc++', OR when the last two lines of readline() are
> removed?

Why in the world are you linking with -lcrtdll? That's a Mingw library and
incompatible with Cygwin gcc unless you're using -mno-cygwin. See my
mno-cygwin howto at:


Want to unsubscribe from this list?
Send a message to

More information about the Cygwin mailing list