From owner-freebsd-current@FreeBSD.ORG Sun Jan 11 09:17:33 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 D18DB1065691 for ; Sun, 11 Jan 2009 09:17:33 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) Received: from 0.mx.codelabs.ru (0.mx.codelabs.ru [144.206.177.45]) by mx1.freebsd.org (Postfix) with ESMTP id 7E19C8FC0A for ; Sun, 11 Jan 2009 09:17:33 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) DomainKey-Signature: a=rsa-sha1; q=dns; c=simple; s=one; d=codelabs.ru; h=Received:Date:From:To:Cc:Subject:Message-ID:Reply-To:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:Sender; b=k3sNPllwvquZZ3MayAMFGdS/3IqFVkgJAnqF+EuYIEHN8ZlVGiJaGQx0GKFXEwapLtl8v7TlcKdgXvBYeuj37H1CEaWyjEdIxgg9SxlYyboZ44HhdRAGY14j90gAEidHuOOgxZsqUI+rRtWk7OxxQjFiIE7v5NwJdCRWwgS0tNY=; Received: from void.codelabs.ru (void.codelabs.ru [144.206.177.25]) by 0.mx.codelabs.ru with esmtpsa (TLSv1:AES256-SHA:256) id 1LLwRo-000PYg-8H; Sun, 11 Jan 2009 12:17:32 +0300 Date: Sun, 11 Jan 2009 12:17:31 +0300 From: Eygene Ryabinkin To: "Svein Skogen (List Mail Account)" Message-ID: References: <49668763.8020705@mail.zedat.fu-berlin.de> <49671748.3030709@gmx.de> <4967259C.9090408@stillbilde.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4967259C.9090408@stillbilde.net> Sender: rea-fbsd@codelabs.ru 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: rea-fbsd@codelabs.ru List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Jan 2009 09:17:34 -0000 Svein, good day. Fri, Jan 09, 2009 at 11:23:24AM +0100, Svein Skogen (List Mail Account) wrote: > 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? Will the following additions to your make.conf suit you? ----- .if ${.CURDIR:M/usr/src/*} || ${.CURDIR:M/usr/src} CC = system-CC .endif .if ${.CURDIR:M/usr/ports/*} || ${.CURDIR:M/usr/ports} CC = ports-CC .endif ----- -- Eygene _ ___ _.--. # \`.|\..----...-'` `-._.-'_.-'` # Remember that it is hard / ' ` , __.--' # to read the on-line manual )/' _/ \ `-_, / # while single-stepping the kernel. `-'" `"\_ ,_.-;_.-\_ ', fsc/as # _.-'_./ {_.' ; / # -- FreeBSD Developers handbook {_.-``-' {_/ #