diff options
author | brooks <brooks@FreeBSD.org> | 2013-05-15 14:30:03 +0000 |
---|---|---|
committer | brooks <brooks@FreeBSD.org> | 2013-05-15 14:30:03 +0000 |
commit | 6b71588fb9c77dff280f7b94d8398d6c82344c6e (patch) | |
tree | bc51a83d7b359338755b8f0f2791c980ad769792 /tools/build/options | |
parent | 4d008876be6c5f3ff3209a2b07c125927b15e2bd (diff) | |
download | FreeBSD-src-6b71588fb9c77dff280f7b94d8398d6c82344c6e.zip FreeBSD-src-6b71588fb9c77dff280f7b94d8398d6c82344c6e.tar.gz |
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
Diffstat (limited to 'tools/build/options')
-rw-r--r-- | tools/build/options/WITHOUT_CROSS_COMPILER | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/build/options/WITHOUT_CROSS_COMPILER b/tools/build/options/WITHOUT_CROSS_COMPILER new file mode 100644 index 0000000..1ded25b --- /dev/null +++ b/tools/build/options/WITHOUT_CROSS_COMPILER @@ -0,0 +1,3 @@ +.\" $FreeBSD$ +Set to not build a cross compiler in the cross-tools stage of +buildworld, buildkernel, etc. |