From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Fleischer, Karsten (K.)" To: "'kris.thielemans@ic.ac.uk'" Cc: "Cygwin (E-mail)" Subject: RE: problem with dynamic_cast Date: Fri, 08 Sep 2000 06:13:00 -0000 Message-id: X-SW-Source: 2000-09/msg00295.html > -----Original Message----- > From: Kris Thielemans [ mailto:kris.thielemans@ic.ac.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@sourceware.cygnus.com