Check /usr/src/Makefile, it lists all the information you need.
In this case:
# If TARGET=machine (e.g. ia64, sparc64, ...) is specified you can
# cross build world for other machine types using the buildworld target,
# and once the world is built you can cross build a kernel using the
# buildkernel target.
Also noteworthy is build(7) which describes the whole building process in more detail. Just came across the mentioning in Makefile thus figured I could just as well mention it too
This works but what doesn't work is doing the buildworld on the amd64 and (using NFS for example) the installworld phase on the i386. In that case I'd build an i386 jail on the amd64 host and buildworld there. The reason is that the build tools would be amd64 and those do not work on i386.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.