This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
how to make it working correct(libstdc++)?
- From: "TARZAN LION"<tarzanboy at 21cn dot com>
- To: libstdc++ at gcc dot gnu dot org
- Cc:
- Date: Mon, 12 Aug 2002 15:41:51 +0800 (CST)
- Subject: how to make it working correct(libstdc++)?
I download a gcc-3.1 tar file.
than I excute the following command:
tar zxvf gcc-3.1.tar.gz
cd gcc-3.1
./configure --prefix = /usr
--enable-threads=posix
--enable-shared
make bootstrap
make install
but some error message reported when I compiled some like sample.cpp file.
the sample.cpp file like following:
#include <iostream.h>
#include <string.h>
int main()
{
string str("hello world!");
cout<<str<<endl;
return 0;
}
my program have not any error,but some error report like following message:
"string" undeclared (first use this function)
I know some reason-->"the include file,something is wrong",but I don't know how to do.
what can I do for it? I don't know.
----------------------------------------------
玩蜘蛛侠游戏,日日送大奖,每天头奖爱立信T68手机
http://sms.21cn.com/game_a04.jsp
手机号码占卜你的财运,免费试用
http://sms.21cn.com/game_mc001.jsp
多款机型图片铃声,引领手机潮流
http://211.147.1.182/21CN/modules/pic/
收费邮箱五包承诺:包退包换包满意 厚礼双包送大奖
http://mail.21cn.com/5bao/5bao2.html