From owner-svn-src-head@FreeBSD.ORG  Mon May 20 19:56:10 2013
Return-Path: <owner-svn-src-head@FreeBSD.ORG>
Delivered-To: svn-src-head@freebsd.org
Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115])
 by hub.freebsd.org (Postfix) with ESMTP id ADEF1E76;
 Mon, 20 May 2013 19:56:10 +0000 (UTC)
 (envelope-from brooks@lor.one-eyed-alien.net)
Received: from lor.one-eyed-alien.net (lor.one-eyed-alien.net [69.66.77.232])
 by mx1.freebsd.org (Postfix) with ESMTP id 666AA1A67;
 Mon, 20 May 2013 19:56:09 +0000 (UTC)
Received: from lor.one-eyed-alien.net (localhost [127.0.0.1])
 by lor.one-eyed-alien.net (8.14.5/8.14.5) with ESMTP id r4KJu8qE004143;
 Mon, 20 May 2013 14:56:08 -0500 (CDT)
 (envelope-from brooks@lor.one-eyed-alien.net)
Received: (from brooks@localhost)
 by lor.one-eyed-alien.net (8.14.5/8.14.5/Submit) id r4KJu8Al004142;
 Mon, 20 May 2013 14:56:08 -0500 (CDT) (envelope-from brooks)
Date: Mon, 20 May 2013 14:56:08 -0500
From: Brooks Davis <brooks@freebsd.org>
To: Garrett Cooper <yaneurabeya@gmail.com>
Subject: Re: svn commit: r250659 - in head: . share/mk tools/build/options
 tools/tools/makeroot
Message-ID: <20130520195608.GF2630@lor.one-eyed-alien.net>
References: <201305151430.r4FEU31J061480@svn.freebsd.org>
 <E7C635F4-5C2F-4DAF-A0B3-AE5C0EA9425B@gmail.com>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
 protocol="application/pgp-signature"; boundary="27ZtN5FSuKKSZcBU"
Content-Disposition: inline
In-Reply-To: <E7C635F4-5C2F-4DAF-A0B3-AE5C0EA9425B@gmail.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org,
 src-committers@freebsd.org
X-BeenThere: svn-src-head@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: SVN commit messages for the src tree for head/-current
 <svn-src-head.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/svn-src-head>,
 <mailto:svn-src-head-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-src-head>
List-Post: <mailto:svn-src-head@freebsd.org>
List-Help: <mailto:svn-src-head-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/svn-src-head>,
 <mailto:svn-src-head-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 20 May 2013 19:56:10 -0000


--27ZtN5FSuKKSZcBU
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, May 15, 2013 at 10:10:13AM -0500, Garrett Cooper wrote:
> On May 15, 2013, at 9:30 AM, Brooks Davis wrote:
>=20
> > Author: brooks
> > Date: Wed May 15 14:30:03 2013
> > New Revision: 250659
> > URL: http://svnweb.freebsd.org/changeset/base/250659
> >=20
> > Log:
> >  Add support for an external cross compiler.  The cross compiler is
> >  specified by passing the XCC, XCXX, and XCPP variables (corresponding =
to
> >  CC, CXX, and CPP) to buildworld/buildkernel.  The compiler must be cla=
ng
> >  or be configured to target the appropriate architecture.
> >=20
> >  To speed build times, if XCC is an absolute path or
> >  WITHOUT_CROSS_COMPILER is defined then no cross compiler will be built
> >  during the cross-tools stage.
> >=20
> >  Limited documentation of this feature can currently be found at:
> >=20
> >  https://wiki.freebsd.org/ExternalToolchain
> >=20
> >  This functionality should be considered experimental and is subject to
> >  change without notice.
>=20
> 	Seems like this code could/should be integrated in with conf/163778 (in =
particular the bits that Warner provided to share/mk/sys.mk that I integrat=
ed in my larger patch).
>=20

The patch in conf/163778 seems to combine several unrelated things.  I
don't know what the usecase is for ${AWK}, but it should certainly be
committed on it's own if it is committed.

The reason I rejected the ${__X} approach is that it requires a=20
fixed naming convention that doesn't work at all for compilers.  I think
it's a somewhat better idea for binutils, but we'll probably break the
convention at least initially with mclinker.

-- Brooks

--27ZtN5FSuKKSZcBU
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (FreeBSD)

iD8DBQFRmn/XXY6L6fI4GtQRAo6hAKDF0ksJOho/D1Bqa39S8b380fG1MQCgzgtt
ALIj8Oppg8XexZKMkOhn04c=
=KjQP
-----END PGP SIGNATURE-----

--27ZtN5FSuKKSZcBU--