当前位置: 技术问答>linux和unix
********大家看看 hp g++ 编译出错 打印hello world的程序********
来源: 互联网 发布时间:2016-01-09
本文导语: 在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/c...
在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
using namespace std;
int main()
{
cout
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
using namespace std;
int main()
{
cout