From owner-freebsd-questions@FreeBSD.ORG Fri Apr 30 06:51:00 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1FE0516A4CE for ; Fri, 30 Apr 2004 06:51:00 -0700 (PDT) Received: from mail.ebit.ca (ebit.ca [207.136.103.131]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9E8F343D31 for ; Fri, 30 Apr 2004 06:50:59 -0700 (PDT) (envelope-from jason+lists.freebsd@lixfeld.ca) Received: from [192.168.100.66] (trek.lixfeld.ca [216.7.194.254]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by mail.ebit.ca (Postfix) with ESMTP id C76B43C8014; Fri, 30 Apr 2004 10:32:28 -0400 (EDT) In-Reply-To: <20040430070958.GA76706@xor.obsecurity.org> References: <20040430070958.GA76706@xor.obsecurity.org> Mime-Version: 1.0 (Apple Message framework v613) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <66231CBC-9AAD-11D8-94AF-000A95989E4A@lixfeld.ca> Content-Transfer-Encoding: 7bit From: Jason Lixfeld Date: Fri, 30 Apr 2004 09:50:54 -0400 To: Kris Kennaway X-Mailer: Apple Mail (2.613) cc: freebsd-questions@freebsd.org Subject: Re: GCC3.4 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Apr 2004 13:51:00 -0000 On Apr 30, 2004, at 3:09 AM, Kris Kennaway wrote: > On Fri, Apr 30, 2004 at 02:15:22AM -0400, Jason Lixfeld wrote: >> I've just installed gcc3.4 to, among other things take advantange of >> the -march=opteron options. I'm in quite a bit of a conundrum here >> because I've installed, changed the order in $PATH to look in >> /usr/local/bin before /usr/bin for gcc, cc etc but when I run a make >> buildworld it fails saying it doen't recognize the -march=opterion >> option. This means that the old system version of gcc is still being >> referenced somehow, even though I've set the paths: > > This is intentional (the system compiler is rebuilt as part of the > buildworld process, and thereafter used explicitly). > > You can't compile world with a compiler that is not the system > compiler, because it would fail with errors. If you must have a world > compiled with gcc 3.x, you'll have to use the FreeBSD 5.x branch, > which uses gcc 3.x as the system compiler. This is a 5.2.1 system but it uses 3.3.3, not 3.4. so I guess I'll have to wait then until 3.4 is the system compiler. > Kris