Philip Lawatsch wrote:

>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?
>  
>

I haven't verified this (try switching configs back and forth to
verify), but I believe the problem is in /etc/ld.so.conf.  This file
tells the dynamic linker what directories to search for a library.

You can do one of two things:

1. Export "LD_LIBRARY_PATH" to point to the directory where the gcc4
stdc++ library is
2. Add the same directory to /etc/ld.so.conf.

The problem with #2 is that I am pretty sure that if you switch
gcc-configs too many times, you will end up removing your edits.

-Richard

-- 
gentoo-user@gentoo.org mailing list

Reply via email to