About Linking of a simple C++ prog.

brook_wc brook_wc@sina.com
Thu Oct 11 02:38:00 GMT 2001


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 )



More information about the Gcc-help mailing list