diff options
author | Kyle Evans <kevans@FreeBSD.org> | 2020-10-16 15:16:23 +0000 |
---|---|---|
committer | Kyle Evans <kevans@FreeBSD.org> | 2020-10-16 15:16:23 +0000 |
commit | 5f2aaba4532c713f74279f0e83208c97af3a3e69 (patch) | |
tree | de66c71b5c9fdfb77b4b74e2ba7b3695901a48d3 | |
parent | d00afbaea9693439abb91f83b533aa4a025a9671 (diff) | |
download | src-5f2aaba4532c713f74279f0e83208c97af3a3e69.tar.gz src-5f2aaba4532c713f74279f0e83208c97af3a3e69.zip |
Makefile: add a small blurb about building with gcc xtoolchain
The key details are to install the appropriate flavor of devel/freebsd-gcc9
and pass CROSS_TOOLCHAIN while building.
Suggested by: kib
Notes
Notes:
svn path=/head/; revision=366766
-rw-r--r-- | Makefile | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -89,6 +89,15 @@ # 10. `reboot' # 11. `make delete-old-libs' (in case no 3rd party program uses them anymore) # +# For individuals wanting to build from source with GCC from ports, first build +# or install an appropriate flavor of devel/freebsd-gcc9. The packages produced +# by this port are named "${TARGET_ARCH}-gcc9" -- note that not all +# architectures supported by FreeBSD have an external gcc toolchain available. +# +# Once the appropriate freebsd-gcc package is installed, simply pass +# CROSS_TOOLCHAIN=${TARGET_ARCH}-gcc9 while building with the above steps, +# e.g., `make buildworld CROSS_TOOLCHAIN=amd64-gcc9`. +# # See src/UPDATING `COMMON ITEMS' for more complete information. # # If TARGET=machine (e.g. powerpc, arm64, ...) is specified you can |