The freebsd-binutils and freebsd-gcc* packages install toolchain
makefiles to /usr/share/toolchains rather than LOCALBASE.
Details
Details
- native build/install of world/kernel in an amd64 VM using freebsd-binutils and freebsd-gcc6 as the toolchain from base/* packages
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
This change and D22984 replace the older D19482 and D19720. D19482 had issues with cross-building, etc. so instead of making it automagical, this approach requires users to use an explicit CROSS_TOOLCHAIN setting. Users can set that in /etc/src.conf if they are not planning on doing cross-builds and only hosted, native builds in which case one can use 'make buildworld' etc. fairly transparently. The usage is 'make CROSS_TOOLCHAIN=freebsd-gcc6' or eventually 'make CROSS_TOOLCHAIN=freebsd-gcc9' once the base/gcc9 port is ready.