GCC编译错误
/tmp/ccOyKFI8.o:(.eh_frame+0×12): undefined reference to `__gxx_personality_v0′
collect2: ld returned 1 exit status
解决方法
1.GCC后面带-lstdc++参数
2.使用g++来编译
分类: C/C++
/tmp/ccOyKFI8.o:(.eh_frame+0×12): undefined reference to `__gxx_personality_v0′
collect2: ld returned 1 exit status
解决方法
1.GCC后面带-lstdc++参数
2.使用g++来编译
近期评论