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@xxxxxxxx> 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.