TARGET The target machine type for cross-building a release.
TARGET_ARCH The target machine architecture for cross-building a
release.
For the supported list of TARGET and TARGET_ARCH combi-
nations, consult the output of ``make targets'' as docu-
mented in build(7).
TARGET and TARGET_ARCH are more for building a i386 version on AMD64 for example. Or ARM on AMD64. That sort of thing.
Building world is fairly self-contained. So it's perfectly fine to build any version on any other version. Most of the time. I wouldn't try to build a 12.0-RELEASE on 6.3-RELEASE for example but building a 11.2-RELEASE on a 12.0-RELEASE machine shouldn't be a problem. I've done this myself countless times.
--- all_subdir_usr.bin ---
cc -O -pipe -D__REGEX_PRIVATE -I/usr/src/usr.bin/vi -I/usr/src/usr.bin/vi/../../contrib/nvi -I/usr/src/usr.bin/vi/../../contrib/nvi/regex -DUSE_WIDECHAR -DUSE_ICONV -
--- all_subdir_usr.sbin ---
RPCGEN_CPP=cpp\ rpcgen -c -C -DWANT_NFS3 /usr/obj/arm.arm/usr/src/tmp/usr/include/rpcsvc/nfs_prot.x -o nfs_prot_x.c
--- all_subdir_usr.bin ---
--- all_subdir_usr.bin/xlint ---
===> usr.bin/xlint/llib (all)
--- all_subdir_lib ---
--- Kyuafile ---
--- all_subdir_usr.bin ---
--- llib-lposix.ln ---
lint -cghapbx -Cposix /usr/src/usr.bin/xlint/llib/llib-lposix
sh: lint: not found
*** [llib-lposix.ln] Error code 127
lint
, so now I'm looking at creating an 11.0 jail in which to build 11.0.I stumbled over this mailing list post concerning lint. You might give it a try before continuing setting up a jail:then it struck me that 12.0 may not include various programs required for the build. ie lint
Since lint was removed from 12.0-CURRENT, it is not possible to build
11.1-STABLE on a 12.0-CURRENT host, but I was able to work around that
by copying /usr/bin/true to /usr/bin/lint.
I stumbled over this mailing list post concerning lint. You might give it a try before continuing setting up a jail:
more fallout from removal of lint
lint
. It's probably safer to create the correct environment when building versions of FreeBSD which are different from that on the host, since there could be other such unforeseen gotchas waiting.I've already set up an 11.0 jail so do have access tolint
. It's probably safer to create the correct environment when building versions of FreeBSD which are different from that on the host, since there could be other such unforeseen gotchas waiting.