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 silly1.cc -lstdc++ -lcrtdll' but not when compiled with
> 'gcc silly1.cc -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:
http://www.xraylith.wisc.edu/~khan/software/gnu-win32/
Regards,
Mumit
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
More information about the Cygwin
mailing list