This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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: explain errors - gcc 3.2.3 with libstdc++-3-libc6.2-2-2.10.0.a - Resolved


I forgot to CC this group. The response from Joe Buck
resolved the issue. 

>Read the "Caveats" section of

>http://gcc.gnu.org/gcc-3.2/changes.html

Reading that section and trying out the following
steps cleared it up.

1. g++ -c example.cpp
 nm -g example.o | grep cout
          U _ZSt4cout

2. nm -g /usr/lib/libstdc++-3-libc6.2-2-2.10.0.a |
grep cout
00000020 D cout

3. nm -g
/usr/lib/gcc-lib/i386-redhat-linux/3.2.3/libstdc++.a |
grep
cout
includes:
00000000 B _ZSt4cout

So, gcc 3.2.3 mangles the name such that I cannot link
with old version of libstdc++! 

Apologies for the extra cross post.


		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com


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