This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Available for test: gcc-3.1.1-1, gcc2-2.95.3-6, and gcc-mingw-3_1-20020516-1


I believe there are a few problems with gcc-2's c++ support -- I've attached an example that should demonstrate the problem. (just unpack, cd, and make).

I'm getting lots of these sorts of errors:

/tmp/dllhelpers-0.4.0/cxx/usedll.cc:22: undefined reference to `endl(ostream &)'

I think the problem is that g++-2 is using g++(3.1.x)'s libstdc++.a library. running the link command with -verbose, and I get:

...
attempt to open /usr/local/lib/libstdc++.a failed
attempt to open /usr/lib/libstdc++.dll.a failed
attempt to open /usr/lib/stdc++.dll.a failed
attempt to open /usr/lib/libstdc++.a succeeded
attempt to open .//libgcc.dll.a failed
attempt to open .//gcc.dll.a failed
...

But, didn't the C++ ABI change between gcc 2.95.x and 3.x ? If so, does this mean that g++(3.x) can't use any C++ libraries that were compiled with g++(2.95.x)?

--Chuck

Attachment: cxx.tar.bz2
Description: Binary data

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]