Page MenuHomeFreeBSD

Look for cross toolchain makefiles in /usr/share/toolchains.
ClosedPublic

Authored by jhb on Dec 31 2019, 8:51 PM.
Tags
None
Referenced Files
Unknown Object (File)
Oct 15 2024, 9:15 PM
Unknown Object (File)
Oct 9 2024, 11:39 AM
Unknown Object (File)
Oct 4 2024, 10:07 PM
Unknown Object (File)
Sep 15 2024, 10:32 PM
Unknown Object (File)
Sep 15 2024, 10:32 PM
Unknown Object (File)
Sep 15 2024, 10:15 PM
Unknown Object (File)
Sep 5 2024, 9:05 PM
Unknown Object (File)
Aug 18 2024, 3:04 PM
Subscribers

Details

Summary

The freebsd-binutils and freebsd-gcc* packages install toolchain
makefiles to /usr/share/toolchains rather than LOCALBASE.

Test Plan
  • native build/install of world/kernel in an amd64 VM using freebsd-binutils and freebsd-gcc6 as the toolchain from base/* packages

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

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.

This revision is now accepted and ready to land.Jan 1 2020, 10:06 PM