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]

thank you


Hello, Mr Couder,
 I have reinstalled my system with gcc-2.95.3 version and libstdc_++2.8.1.1, the problems occured before during compiling and linking   vanish. But I cann't still run the executabl program.When I "ldd gen"  it give me the information"libstdc++.so.2.10.0 =>   /usr/local/lib/libstdc++.so.2.10.0
        libm.so.1 =>     /usr/lib/libm.so.1
        libc.so.1 =>     /usr/lib/libc.so.1
        libdl.so.1 =>    /usr/lib/libdl.so.1   "
 I have try the small program you give me(it needs some modification), it can run correctly using g++ as the compiler but it presents the information"Undefined  symbol 'cout,ostream::operator<<(char const*)' first referenced in file /var/tmp/ccQm3WWN.o" if using gcc as the compiler. Why? What's the difference between gcc and g++?
  So, I think there are something wrong in my program.So I will debug it.
  I greatly appreciate your timely help.
Bye
Best regards
xixi.yang

_____________________________________________
精彩演出,巨星云集   http://shopping.263.net/category16.htm
贵族香水,平民价格   http://shopping.263.net/perfume/


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