Helge Hafting <[EMAIL PROTECTED]> writes: > How can I know what compiler was used for a library? > I tried strings /usr/lib/libstdc++.so.6.0.7 | grep GCC > and got > GCC_3.3 > GCC_3.0 > So, 3.0 or 3.3? > And gcc 4.0 worked fine for such a long time - strange.
I'd imagine that g++ 4.0 would come with its own libstdc++, no? However, in general you should use the same g++ compiler as was used to compile those libraries that were compiled with a c++ compiler. In our case the biggie is libqt. (Unless you want to build Qt yourself for use with LyX.) So, I'd repeat the trick above on libqt. What you're looking for is ABI compatability between the compiler that was used to compile the library and the compiler that you're proposing to use to compile LyX. Certainly g++ 3.0 is not ABI compatible with g++ 4.0. You'll have to do some research for g++ 3.3. Putting all that to one side, however, didn't Debian unstable go through a painful upgrade a few months ago. All their libraries should now be compatible with the default g++ compiler, whichever version that is. (I forget :() Angus
