********大家看看 hp g++ 编译出错 打印hello world的程序********
希望之晨 2007-02-09 04:40:33 在hp下装了g++ 编译报的错
At least one PA 2.0 object file (/usr/local/pa20_32/lib/libstdc++.a(globals_io.o)) was detected. The linked output may not run on a PA 1.x system.
/usr/ccs/bin/ld: Unrecognized argument: +init
/usr/ccs/bin/ld: Usage: /usr/ccs/bin/ld [options] [flags] files
#include <iostream>
using namespace std;
int main()
{
cout << "hello world"<< endl;
return 0;
}
大家帮帮忙,分不够再加。。