This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: undefined reference problem


Andre Kirchner <supercroc1974@yahoo.com> writes:

> What is this undefined reference to
> `__gxx_personality_v0, and how do I fix it?
> The following is the code of main.cpp, Connecot.h and
> Connector.cpp if it may help you to find the problem.

__gxx_personality_v0 is an internal symbol used by g++.  It is defined
inside the C++ standard library libstdc++.

When you try to make an executable with 'gcc' it only links against
the standard C libraries (not libstdc++) so you have to have to use
g++ to link everything correctly for C++.

-- 
Brian Gough

Network Theory Ltd,
Publishing "An Introduction to GCC" --- http://www.network-theory.co.uk/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]