From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Jt3po-0006rO-1Y for garchives@archives.gentoo.org; Mon, 05 May 2008 16:46:40 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5F4E2E019B; Mon, 5 May 2008 16:46:21 +0000 (UTC) Received: from mail-out.m-online.net (mail-out.m-online.net [212.18.0.9]) by pigeon.gentoo.org (Postfix) with ESMTP id 317B1E019B for ; Mon, 5 May 2008 16:46:21 +0000 (UTC) Received: from mail01.m-online.net (mail.m-online.net [192.168.3.149]) by mail-out.m-online.net (Postfix) with ESMTP id 470C621CF7F; Mon, 5 May 2008 18:46:26 +0200 (CEST) Received: from localhost (unknown [192.168.1.157]) by mail.m-online.net (Postfix) with ESMTP id 2CC9190051; Mon, 5 May 2008 18:46:20 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.3.149]) by localhost (scanner1.m-online.net [192.168.1.157]) (amavisd-new, port 10024) with ESMTP id ed4vZVORpqBh; Mon, 5 May 2008 18:46:19 +0200 (CEST) Received: from gauss.x.fun (ppp-88-217-107-157.dynamic.mnet-online.de [88.217.107.157]) by mail.nefkom.net (Postfix) with ESMTP; Mon, 5 May 2008 18:46:19 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by gauss.x.fun (Postfix) with ESMTP id DA7C3182E47; Mon, 5 May 2008 18:46:18 +0200 (CEST) From: Matthias Schwarzott To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] RFC: qemu -> add gcc-3.x dependency Date: Mon, 5 May 2008 18:46:17 +0200 User-Agent: KMail/1.9.9 Cc: Peter Volkov References: <20080504194830.GD6914@nibiru.local> <1209988986.31591.11.camel@camobap> In-Reply-To: <1209988986.31591.11.camel@camobap> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200805051846.17975.zzam@gentoo.org> X-Archives-Salt: 53dcc857-c533-4b10-af35-98b9d37d8d5d X-Archives-Hash: a01bbde70643643ab25f6a48c3c584c8 On Montag, 5. Mai 2008, Peter Volkov wrote: > =D0=92 =D0=92=D1=81=D0=BA, 04/05/2008 =D0=B2 21:48 +0200, Enrico Weigelt = =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > > I'm just installing qemu, which requires gcc-3.x for building. > > The current breaks are very ugly, IMHO. > > > > So I'm proposing to add the old gcc-3.x as depedency to qemu, > > at least as long as it doesn't build w/ newer gcc. > > > > What do you think about this ? > > How do you suppose to change gcc version portage uses on-the-fly? > Please, answer trough bugzilla where most bug reports/feature requests > should normally go. I suggest something like this: Get correct path of gcc-3 executable, then supply this with $CC to make. Code may look like this: # get last one of sorted list for t in $(ls -1 /usr/bin/gcc-3*|sort); do p=3D$t done einfo "Using $p for compiling." emake CC=3D$p Matthias -- gentoo-dev@lists.gentoo.org mailing list