- 博客(1)
- 收藏
- 关注
原创 在linux中运行APUE中的程序,运行错误:undefined reference to `__gxx_personality_v0'
1. 用gcc命令编译C++程序,gcc添加C++标准库 -lsydc++ 例如: gcc -lstdc++ -o main1_3 main1_3.cpp,否则会报 "undefinedreference to '__gxx_personality_v0' " 错误 其中,main1_3是编译后的名称,main1_3.cpp是在windows下编程后拷贝到linux下的程序.
2015-04-12 20:15:43
525
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人