8.13 Cross-compiling ports

Warning: Building ports on different architectures is entirely experimental and unsupported. Please expect this to blow up in your face in weird ways. However, success stories are welcome.

  1. Create an environment file for the target Jail (Section 8.5); for example ${pb}/scripts/etc/env/jail.9-i386:

  2. Create a Jail (Chapter 3) using the name in step 1:

    # cd ${pb}/scripts && ./tc createJail -j 9-i386 \
      -u SVN -H svn.FreeBSD.org -P https \
      -D base/stable/9 -d "FreeBSD-9-STABLE i386" -a i386

The Jail can then be used as though it were any other to create Builds.