Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-Id: From: "Fleischer, Karsten (K.)" To: "'kris DOT thielemans AT ic DOT ac DOT uk'" Cc: "Cygwin (E-mail)" Subject: RE: problem with dynamic_cast Date: Fri, 8 Sep 2000 09:12:58 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2651.58) Content-Type: text/plain; charset="iso-8859-1" > -----Original Message----- > From: Kris Thielemans [mailto:kris DOT thielemans AT ic DOT ac DOT uk] > Sent: Freitag, 8. September 2000 13:54 > To: Fleischer, Karsten (K.) > Cc: Cygwin (E-mail) > Subject: RE: problem with dynamic_cast > > > > Dear Karsten, > > yes, that's seems to be it. Many thanks ! > > I also found the relevant emails in the archive now (I was > looking for RTTI > and dynamic_cast, but the relevant mails didn't mention those). > > For those interested, you could start with: > http://www.delorie.com/archives/thread.cgi?msg=cygwin/2000/05/ > 31/19:11:09 > > > It would be wonderful if somebody could provide me with a patched gcc, > and/or update the distribution. Yes, indeed! A patch would be nice. Even if you keep the simple rule "Don't link with -lm/-lc" in mind, you sometimes forget about it :-) Scanning old makefiles for these isn't fun at all either. > > Thanks again, > > Kris > > > > Hi Kris, > > > > I didn't look at your example, but I think you shouldn't use -lm > > (and -lc). > > libm.a/libc.a are symlinked to libcygwin.a and this is linked > > against every > > program by default. I ran into troubles and stackdumps too, > when linking > > with -lm. I think there's more about this problem in the archives. > > > > Karsten > > > > -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com