From owner-freebsd-current@FreeBSD.ORG Tue Sep 11 20:44:19 2012 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 796B4106566B; Tue, 11 Sep 2012 20:44:19 +0000 (UTC) (envelope-from linimon@lonesome.com) Received: from mail.soaustin.net (pancho.soaustin.net [76.74.250.40]) by mx1.freebsd.org (Postfix) with ESMTP id 546078FC0C; Tue, 11 Sep 2012 20:44:18 +0000 (UTC) Received: by mail.soaustin.net (Postfix, from userid 502) id 1DCED5623C; Tue, 11 Sep 2012 15:44:18 -0500 (CDT) Date: Tue, 11 Sep 2012 15:44:18 -0500 From: Mark Linimon To: David Chisnall Message-ID: <20120911204418.GB15014@lonesome.com> References: <20120910211207.GC64920@lor.one-eyed-alien.net> <004BADDB-E79D-4497-89EE-641F0359E9BE@FreeBSD.org> <504EF3ED.7050502@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Cc: toolchain@freebsd.org, Dimitry Andric , current@freebsd.org Subject: Re: Clang as default compiler November 4th X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Sep 2012 20:44:19 -0000 On Tue, Sep 11, 2012 at 10:07:04AM +0100, David Chisnall wrote: > There is some logic in the clang driver already for knowing when it is > invoked as gcc. I'd be quite tempted to make gcc a symlink to clang > and make clang default to gnu89 when invoked in that way. And how then does a port say "I don't compile with clang no matter how it is invoked"? mcl