delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/01/29/14:37:18

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
X-Authentication-Warning: hp2.xraylith.wisc.edu: khan owned process doing -bs
Date: Sat, 29 Jan 2000 13:42:15 -0600 (CST)
From: Mumit Khan <khan AT NanoTech DOT Wisc DOT EDU>
To: henrik <henrik AT sodom-4 DOT wermlands DOT lu DOT se>
cc: cygwin AT sourceware DOT cygnus DOT com
Subject: Re: std::string and crtdll problem
In-Reply-To: <Pine.LNX.4.20.0001280259570.144-100000@sodom-4.wermlands.lu.se>
Message-ID: <Pine.HPP.3.96.1000129134127.25597M-100000@hp2.xraylith.wisc.edu>
MIME-Version: 1.0

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 AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019