Ports cross-compilation

Warner Losh imp at bsdimp.com
Thu Dec 1 16:19:38 UTC 2011


On Dec 1, 2011, at 1:15 AM, Adrian Chadd wrote:

> .. hm. thinking about it, why not have a port variable flag that marks
> a port as "cross compiles" ?
> 
> Then we could (in theory) do a cross-compile test run based on which
> ports in the ports tree have this variable set?

In the doodle I did years ago, I had a CROSS_BUILD_FLAVOR = {trivial, gnuconf, custom} and had that drive some of the infrastructure.  This didn't make it into the final hack we used at symmetricom, however.  Some of that can be inferred from other variables, but we didn't bother to try to build stuff we didn't need and that might not be working.

Warner



More information about the freebsd-embedded mailing list