Gentoo Archives: gentoo-user

From: Richard Fish <bigfish@××××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] using g++ instead of gcc to build abiword
Date: Sat, 22 Oct 2005 00:33:26
Message-Id: 43598467.4090007@asmallpond.org
In Reply to: Re: [gentoo-user] using g++ instead of gcc to build abiword by Peter Gordon
1 Peter Gordon wrote:
2
3 >Robert Persson said:
4 >
5 >
6 >>suggests that these would be cured if I were to build abiword using g++
7 >>instead of gcc. How can I do this in portage? Do I need to emerge
8 >>anything to be able to use g++?
9 >>
10 >>
11 >
12 >Nope. You should have it by default, since it's part of GCC.
13 >
14 >
15
16 Peter is right, unless you merged gcc with the "nocxx" USE flag.
17
18 Also, gcc will do "g++" automatically if the source files are named
19 correctly (.cxx, .cc, or .cpp). So the CC= trick should really not be
20 necessary. But rather than editing any files, you can try:
21
22 CC=g++ emerge abiword
23
24 If that doesn't work, I suggest posting the output of emerge --info and
25 emerge --verbose --pretend gcc.
26
27 -Richard
28
29 --
30 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] using g++ instead of gcc to build abiword Robert Persson <ireneshusband@××××××××.uk>