From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.50) id 1ET7K9-0004SF-OU for garchives@archives.gentoo.org; Sat, 22 Oct 2005 00:33:26 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id j9M0RZBq026367; Sat, 22 Oct 2005 00:27:35 GMT Received: from smtp107.mail.sc5.yahoo.com (smtp107.mail.sc5.yahoo.com [66.163.169.227]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id j9M0BH14028351 for ; Sat, 22 Oct 2005 00:11:18 GMT Received: (qmail 97580 invoked from network); 22 Oct 2005 00:14:06 -0000 Received: from unknown (HELO ?192.168.2.101?) (richard?j?fish@68.230.97.177 with plain) by smtp107.mail.sc5.yahoo.com with SMTP; 22 Oct 2005 00:14:06 -0000 Message-ID: <43598467.4090007@asmallpond.org> Date: Fri, 21 Oct 2005 17:14:31 -0700 From: Richard Fish User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051007) X-Accept-Language: en-us, en Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] using g++ instead of gcc to build abiword References: <200510211556.59427.ireneshusband@yahoo.co.uk> <56872.127.0.0.1.1129939093.squirrel@www.ramshacklestudios.com> In-Reply-To: <56872.127.0.0.1.1129939093.squirrel@www.ramshacklestudios.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: 61f76b01-e6f4-40c5-81ec-8f2fdd31fb98 X-Archives-Hash: be37d6efcb1a4e330011a590cd3d0fec Peter Gordon wrote: >Robert Persson said: > > >>suggests that these would be cured if I were to build abiword using g++ >>instead of gcc. How can I do this in portage? Do I need to emerge >>anything to be able to use g++? >> >> > >Nope. You should have it by default, since it's part of GCC. > > Peter is right, unless you merged gcc with the "nocxx" USE flag. Also, gcc will do "g++" automatically if the source files are named correctly (.cxx, .cc, or .cpp). So the CC= trick should really not be necessary. But rather than editing any files, you can try: CC=g++ emerge abiword If that doesn't work, I suggest posting the output of emerge --info and emerge --verbose --pretend gcc. -Richard -- gentoo-user@gentoo.org mailing list