Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Sep 2012 15:44:18 -0500
From:      Mark Linimon <linimon@lonesome.com>
To:        David Chisnall <theraven@freebsd.org>
Cc:        toolchain@freebsd.org, Dimitry Andric <dim@freebsd.org>, current@freebsd.org
Subject:   Re: Clang as default compiler November 4th
Message-ID:  <20120911204418.GB15014@lonesome.com>
In-Reply-To: <D6FCDBB2-8351-4268-B401-71C65BF5324A@freebsd.org>
References:  <20120910211207.GC64920@lor.one-eyed-alien.net> <004BADDB-E79D-4497-89EE-641F0359E9BE@FreeBSD.org> <504EF3ED.7050502@FreeBSD.org> <D6FCDBB2-8351-4268-B401-71C65BF5324A@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120911204418.GB15014>