Date: Mon, 20 May 2013 14:56:08 -0500 From: Brooks Davis <brooks@freebsd.org> To: Garrett Cooper <yaneurabeya@gmail.com> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r250659 - in head: . share/mk tools/build/options tools/tools/makeroot Message-ID: <20130520195608.GF2630@lor.one-eyed-alien.net> In-Reply-To: <E7C635F4-5C2F-4DAF-A0B3-AE5C0EA9425B@gmail.com> References: <201305151430.r4FEU31J061480@svn.freebsd.org> <E7C635F4-5C2F-4DAF-A0B3-AE5C0EA9425B@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130520195608.GF2630>