This is the mail archive of the cygwin@sourceware.cygnus.com 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]

Re: std::string and crtdll problem


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


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