Hi,
I'd like to use gcc 4 to compile some of my own software but still use 3.4 for everything else (all ebuilds etc). Now I simply emerged gcc4 (its slotted) and then as my user I did export the variables a gcc-config -E x86_64-pc-linux-gnu-4.0.1-pre20050616 printed out. This way I successfully compiled and linked my programm with gcc4. Now my problem is that I can't execute it. If I give it a try I'm getting this error: [EMAIL PROTECTED] ~/ $ ./foo ./foo: /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/libstdc++.so.6: version `GLIBCXX_3.4.4' not found (required by ./foo) This is strange since for one its still using something from the 3.4.3 profile and also I've just upgraded (with the gcc upgrade) to glibc 3.5. If I switch my profile with gcc-config to the gcc4 profile everything works. So my querstion now is what else gets changed by gcc-config, and is there a chance to have the 3.4 gcc profile selected but still run programs compiled with gcc 4? kind regards Philip -- gentoo-user@gentoo.org mailing list