delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/09/08/09:13:49

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-Id: <B0016412068@mzdy17.allegro.net>
From: "Fleischer, Karsten (K.)" <kfleisc1 AT ford DOT com>
To: "'kris DOT thielemans AT ic DOT ac DOT uk'" <kris DOT thielemans AT ic DOT ac DOT uk>
Cc: "Cygwin (E-mail)" <cygwin AT sourceware DOT cygnus DOT com>
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)


> -----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

- Raw text -


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