From owner-freebsd-current@FreeBSD.ORG Mon Jan 12 16:48:16 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2BD8C1065670 for ; Mon, 12 Jan 2009 16:48:16 +0000 (UTC) (envelope-from ken@mthelicon.com) Received: from hercules.mthelicon.com (hercules.mthelicon.com [IPv6:2001:49f0:2023::2]) by mx1.freebsd.org (Postfix) with ESMTP id E557F8FC12 for ; Mon, 12 Jan 2009 16:48:15 +0000 (UTC) (envelope-from ken@mthelicon.com) Received: from PegaPegII (93-152-14-233.daisydsl.managedbroadband.co.uk [93.152.14.233]) (authenticated bits=0) by hercules.mthelicon.com (8.14.3/8.14.3) with ESMTP id n0CGmCZk088745; Mon, 12 Jan 2009 16:48:13 GMT (envelope-from ken@mthelicon.com) Message-ID: <290AA3DA54624A6FA91872B8909564F2@PegaPegII> From: "Pegasus Mc Cleaft" To: , "Svein Skogen \(List Mail Account\)" References: <49668763.8020705@mail.zedat.fu-berlin.de><49671748.3030709@gmx.de> <4967259C.9090408@stillbilde.net> <20090112162604.GA77988@dragon.NUXI.org> In-Reply-To: <20090112162604.GA77988@dragon.NUXI.org> Date: Mon, 12 Jan 2009 16:48:12 -0000 Organization: Feathers MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Windows Mail 6.0.6001.18000 X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18049 X-Antivirus: avast! (VPS 090112-0, 12/01/2009), Outbound message X-Antivirus-Status: Clean Cc: freebsd-current@freebsd.org Subject: Re: gcc 4.3: when will it become standard compiler? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Pegasus Mc Cleaft List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jan 2009 16:48:16 -0000 ----- Original Message ----- From: "David O'Brien" To: "Svein Skogen (List Mail Account)" Cc: Sent: Monday, January 12, 2009 4:26 PM Subject: Re: gcc 4.3: when will it become standard compiler? > On Fri, Jan 09, 2009 at 11:23:24AM +0100, Svein Skogen (List Mail Account) > wrote: >> Christoph Mallon wrote: >> > O. Hartmann schrieb: >> >> When will gcc 4.3 incorporated in FreeBSD 8 and become the standard >> >> compiler suite? We figured out that gcc 4.3 does have a speed gain in >> >> some numerical code of 3 - 8 % and I guess we can use this in the >> >> basic >> >> OS as well ... >> > >> > Number crunching has a totally different execution profile than basic >> > operating system services. Gains in one area cannot simply be >> > transferred to the other. >> >> Would it be possible, as a "workaround" to have "system-CC" and >> "ports-CC" defined in make.conf, making one CC the compiler for /usr/src >> and another for ports, or would this just create debugging nightmares? > > Why do you think you don't have this today? > > Install /usr/ports/lang/gcc/gcc43. It lives nicely beside the base > compiler. Anytime you want to use it - set 'CC' to 'gcc43'. > I know this is a different issue, and being hashed in another thread, but this is exactly what I did. However, with an older version of binutils installed, I didnt get the advantage of being able to use SSE4.1 on my machine. I made from the sources binutils, but it was a real pain to get the /usr/ports/lang/gcc/gcc43 port to pick up the presence of the newer version of binutils. I had to make simlinks for various directories and every time they changed the port it would klobber the links. It became ickey! Peg