Hi Philipp, Many thanks indeed for answers.
No, the libstdc++ is fine, as gcc_old has its own. But you can't use any other library on the system that's written in C++, namely Qt and the KDE libraries. gcc 3.X uses a different ABI (application binary interface), meaning you can't link code compiled with gcc 2.95.X with code that has been compiled by gcc 3.X .
Yes looks like.
With the compiler from gcc_old you can only compile Programs that need nothing more then libstdc++. So compiling lyx with Qt interface is out of the question unless you also compile Qt with gcc 2.95.3. Make sure that version of Qt doesn't overwrite the already installed version, otherwise all other programs that need Qt will stop to work.
Yes I've found out this. So as long as I have a QT library tree compiled with 2.95.3 gcc everyhting is fine.
But why the hassle? I posted the steps necessary to compile lyx 1.3.2, together with the necessary patch to the boost configuration a few days ago. That will enable you to compile lyx 1.3.2 with gcc 3.3.1.
Well, yes you are right. I compiled without any problems lyx-1.3.2 with gcc-3.3.1 Some user, Ernesto, still reports that lyx-1.3.2 does not build with gcc-3.3.1 under his box/config due some compiler internal error. Looks strange. A solution will be to make everyhting back using the old gcc, 2.95.3 For that QT is needed to be built with 2.95 too. I created a new QT dir under my /usr/lib/qt-2.3.1 where all QT stuff compiled with gcc-2.95.3 went. Then I went back to my original lyx-1.3.2 code and rebuild everything. Worked fine. I was very curious about this. Now this seems working with old and the new compiler.
Philipp