You can put gcc 4.1 in a slot on your system and choose to compile
programs that don't work with the newest version, with the old version:
# emerge -av sys-devel/gcc:4.1 (you may have to unmask: "echo "=sys-
devel/gcc-4.1.2 ~x86" >> /etc/portage/package.keywords)
# gcc-config -l
# gcc-config x86_64-pc-linux-gnu-4.1.2
# source /etc/profile
If you want to go back to the new version, just do again:
# gcc-config -l
# gcc-config x86_64-pc-linux-gnu-4.3.1-r1
# source /etc/profile
On Aug 11, 2008, at 3:58 PM, Daniel Pielmeier wrote:
2008/8/11, Peter Wood <[EMAIL PROTECTED]>:
I don't really mind using the ~x86 version of these packages, but
wonder why
the old, stable packages won't compile with a newer gcc. Isn't gcc
supposed
to be downward compatible?
No, take a look here:
http://bugs.gentoo.org/show_bug.cgi?id=198121