This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


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

RE: About Linking of a simple C++ prog.


Hi,
  I have tried g++ & gcc -lstdc++, it doesn't work either, although the error messages is different as follows:
$PWD$g++ test.cpp
$PWD$./a.out
ld.so.1: ./a.out: fatal: libstdc++.so.2.10.0: open failed: No such file or direc
tory
Killed

So what should I do?

______________________________________

===================================================================
新浪免费电子邮箱 (http://mail.sina.com.cn)
新浪分类信息--城市生活指南! (http://classad.sina.com.cn/)
世界杯、甲A、欧洲联赛…订足球短信,赢手机大奖! (http://sms.sina.com.cn/sport.html)


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