c++ - Undefined Symbol ___gxx_personality_v0 on link -
c++ - Undefined Symbol ___gxx_personality_v0 on link -
i've been getting undefined symbol building command line:
$ gcc test.cpp undefined symbols: "___gxx_personality_v0", referenced from: etc... test.cpp simple , should build fine. deal?
use
g++ test.cpp instead, since c++ code.
or, if really want utilize gcc, add together -lstdc++ command line, so:
gcc test.cpp -lstdc++ running md5 against a.out produced under each scenario shows it's same output.
but, yeah, g++ makes world simpler place.
c++ c gcc g++
Comments
Post a Comment