Gentoo Archives: gentoo-user

From: Rumen Yotov <rumen@××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Any reason to keep older gcc?
Date: Mon, 31 Dec 2007 07:07:04
Message-Id: 20071231070300.GA7027@qrypto.org
In Reply to: [gentoo-user] Re: Any reason to keep older gcc? by Grant Edwards
1 On (30/12/07 16:18) Grant Edwards wrote:
2 > On 2007-12-28, Qian Qiao <qian.qiao@×××××.com> wrote:
3 >
4 > >> Would there be any reason to keep the older gcc 3.46? I'm
5 > >> not familiar enough with Gentoo "under-the-hood" to decide.
6 > >
7 > > Try "equery depends =gcc-3*", without the quotes obviously.
8 > >
9 > > If none of the packages you installed depends on gcc-3*, you should be
10 > > able to get rid of it safely.
11 >
12 > That's not been my experience. For example, Qemu won't compile
13 > with gcc-4, yet doesn't have gcc-3 as a dependancy.
14 >
15 > --
16 > Grant
17 >
18 >
19 > --
20 > gentoo-user@g.o mailing list
21 >
22 Hi,
23
24 qemu is just a meta-ebuild, in ~x86 qemu-softmmu-0.9.0-r1:
25 pkg_setup() {
26 if [ "$(gcc-major-version)" == "4" ]; then
27 eerror "qemu requires gcc-3 in order to build and work
28 correctly"
29 eerror "please compile it switching to gcc-3."
30 eerror "We are aware that qemu can guess a gcc-3 but
31 this feature"
32 eerror "could be harmful."
33 die "gcc 4 cannot build q
34 fi
35 Rumen

Replies

Subject Author
[gentoo-user] Re: Any reason to keep older gcc? Grant Edwards <grante@××××.com>