svn commit: r250659 - in head: . share/mk tools/build/options tools/tools/makeroot

Andreas Tobler andreast at FreeBSD.org
Thu May 16 22:24:36 UTC 2013


On 15.05.13 16:30, 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.
>   
>   Sponsored by:	DARPA, AFRL
>   Discussed with:	imp, sjg


I had to revert this commit to be able to build world and kernel with
WITHOUT_CLANG_IS_CC in /etc/src.conf

It did not find the headers (like math.h) when building the 32-bit part
on amd64.

Andreas





More information about the svn-src-head mailing list