svn commit: r250659 - in head: . share/mk tools/build/options tools/tools/makeroot
Brooks Davis
brooks at freebsd.org
Mon May 20 19:56:10 UTC 2013
On Wed, May 15, 2013 at 10:10:13AM -0500, Garrett Cooper wrote:
> On May 15, 2013, at 9:30 AM, Brooks Davis wrote:
>
> > Author: brooks
> > Date: Wed May 15 14:30:03 2013
> > New Revision: 250659
> > URL: http://svnweb.freebsd.org/changeset/base/250659
> >
> > 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 clang
> > or be configured to target the appropriate architecture.
> >
> > 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.
> >
> > Limited documentation of this feature can currently be found at:
> >
> > https://wiki.freebsd.org/ExternalToolchain
> >
> > This functionality should be considered experimental and is subject to
> > change without notice.
>
> 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 integrated in my larger patch).
>
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
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-src-head/attachments/20130520/faaa2b23/attachment.sig>
More information about the svn-src-head
mailing list