This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Shared libstdc++ on AIX
- To: dje at watson dot ibm dot com (David Edelsohn)
- Subject: Re: Shared libstdc++ on AIX
- From: Zoltan Hidvegi <hzoli at austin dot ibm dot com>
- Date: Fri, 27 Jul 2001 13:48:42 -0500 (CDT)
- Cc: gcc at gcc dot gnu dot org
David Edelsohn wrote:
> I have been able to build and run G++ applications linked against
> the shared C++ library. The one area where one needs to be careful is if
I've been able to do that too, my main problem was the simple
#include <fstream>
using std::ofstream;
int
main (void)
{
ofstream f("/dev/tty");
f << int(13) << std::endl;
return 0;
}
does not work, just aborts.
> The main problems that I still experience is libstdc++ I/O does
> not work for anything but the simplest scenarios because of both weak
> symbol teamplate instantiation problems and sharing of symbols between
> shared objects and the main application.
So does that mean that the above does not work for you either? This
is so basic, that if it's broken, then shared libraries should be
disabled on AIX until that's fixed.
Zoli