Gentoo Archives: gentoo-dev

From: Mike Frysinger <vapier@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] impending gcc-config doom
Date: Thu, 14 Oct 2004 13:04:46
Message-Id: 200410140904.41974.vapier@gentoo.org
In Reply to: Re: [gentoo-dev] impending gcc-config doom by Tom Payne
1 On Thursday 14 October 2004 04:35 am, Tom Payne wrote:
2 > Is there an equivalent for g++?
3 >
4 > Currently media-gfx/sam2p uses
5 > CXX="$(gcc-config -B)/g++"
6 > but presumably there's a better way.
7
8 ugh, that is horribly wrong ;)
9 the correct method is:
10 inherit gcc
11 CXX="$(gcc-getCXX)"
12
13 or (since we're moving away from gcc.eclass):
14 inherit toolchain-functions
15 CXX="$(tc-getCXX)"
16 -mike
17
18 --
19 gentoo-dev@g.o mailing list