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 to ___gxx_personality_v0


Thanks! is there a way to compile the library
such that it could be used on different versions of gcc?

Weijun.
Falk Hueffner wrote:

Weijun Zhu <zhuw@ucla.edu> writes:



I have a library compiled by g++ version 3.2 and have no problem link
against it using
g++ 3.2.  But when I was linking against it using g++ 2.96 or g++
3.3.1, I got the following
error:
undefined reference to ___gxx_personality_v0?

Do I have to use the same g++ version as the library to link against it?



Yes.






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