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: <20000908141033.19644.qmail@web106.yahoomail.com> Date: Fri, 8 Sep 2000 07:10:33 -0700 (PDT) From: Earnie Boyd Subject: RE: problem with dynamic_cast To: "Larry Hall \(RFK Partners, Inc\)" , "Fleischer, Karsten \(K.\)" , "'kris DOT thielemans AT ic DOT ac DOT uk'" Cc: "Cygwin \(E-mail\)" MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="0-1101513929-968422233=:18021" --0-1101513929-968422233=:18021 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline --- "Larry Hall (RFK Partners, Inc)" wrote: > Quite true. -lm and -lc are not necessary with Cygwin. The support for > them are in the Cygwin DLL/lib which is linked in automatically. Linking > with it twice (or more) guarantees a crash. The simple answer is, don't > us -lm or -lc with Cygwin. > My suggestion to this problem: Replace the symbolic links with stub libraries. I've attached them for your convenience. With the stub libraries it won't matter if you forget to not use -lm or -lc 'cause things will work correctly. Cheers, ===== --- --- Earnie Boyd: __Cygwin: POSIX on Windows__ Cygwin Newbies: __Minimalist GNU for Windows__ Mingw32 List: Mingw Home: __________________________________________________ Do You Yahoo!? Yahoo! Mail - Free email you can access from anywhere! http://mail.yahoo.com/ --0-1101513929-968422233=:18021 Content-Type: application/x-unknown; name="libc.a" Content-Transfer-Encoding: base64 Content-Description: libc.a Content-Disposition: attachment; filename="libc.a" ITxhcmNoPgovICAgICAgICAgICAgICAgOTYwOTAxNTQ4ICAgMCAgICAgMCAg ICAgMCAgICAgICA0ICAgICAgICAgYAoAAAAAbnVsbGxpYi5vLyAgICAgIDk2 MDkwMTUwMiAgIDUwMCAgIDU0NCAgIDEwMDY0NCAgMzU3ICAgICAgIGAKTAED AAAAAACMAAAACgAAAAAABQEudGV4dAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAgAABgLmRhdGEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAQAAAwC5ic3MAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAA AMAuZmlsZQAAAAAAAAD+/wAAZwFudWxsbGliLmMAAAAAAAAAAAAAAAAABAAA AAAAAAABAAAABgAAAAAAEwAAAAAAAAABAAAABgAudGV4dAAAAAAAAAABAAAA AwEAAAAAAAAAAAAAAAAAAAAAAAAuZGF0YQAAAAAAAAACAAAAAwEAAAAAAAAA AAAAAAAAAAAAAAAuYnNzAAAAAAAAAAADAAAAAwEAAAAAAAAAAAAAAAAAAAAA AAAlAAAAZ2NjMl9jb21waWxlZC4AX19fZ251X2NvbXBpbGVkX2MACg== --0-1101513929-968422233=:18021 Content-Type: application/x-unknown; name="libm.a" Content-Transfer-Encoding: base64 Content-Description: libm.a Content-Disposition: attachment; filename="libm.a" ITxhcmNoPgovICAgICAgICAgICAgICAgOTYwOTAxNTQ4ICAgMCAgICAgMCAg ICAgMCAgICAgICA0ICAgICAgICAgYAoAAAAAbnVsbGxpYi5vLyAgICAgIDk2 MDkwMTUwMiAgIDUwMCAgIDU0NCAgIDEwMDY0NCAgMzU3ICAgICAgIGAKTAED AAAAAACMAAAACgAAAAAABQEudGV4dAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAgAABgLmRhdGEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAQAAAwC5ic3MAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAA AMAuZmlsZQAAAAAAAAD+/wAAZwFudWxsbGliLmMAAAAAAAAAAAAAAAAABAAA AAAAAAABAAAABgAAAAAAEwAAAAAAAAABAAAABgAudGV4dAAAAAAAAAABAAAA AwEAAAAAAAAAAAAAAAAAAAAAAAAuZGF0YQAAAAAAAAACAAAAAwEAAAAAAAAA AAAAAAAAAAAAAAAuYnNzAAAAAAAAAAADAAAAAwEAAAAAAAAAAAAAAAAAAAAA AAAlAAAAZ2NjMl9jb21waWxlZC4AX19fZ251X2NvbXBpbGVkX2MACg== --0-1101513929-968422233=:18021 Content-Type: text/plain; charset=us-ascii -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com --0-1101513929-968422233=:18021--