FreeBSD cross env

First, you must setup a cross environment: setenv TARGET amd64setenv TARGET_ARCH amd64setenv MAKEOBJDIRPREFIX /somewhere/objcd /usr/srcmake kernel-toolchain At this point, you have two choices: (1) use the make buildkernel target and build a kernel + modules. This can...

howto migrate from i386 to amd64 mode

There are ways, but it is painful. You do not want to do what I’m going to post below.. Really. 1) buildworld/buildkernel2) turn off swap (either swapoff or reboot with no swap)3) newfs /dev/ad0s1b (or wherever)4) mount /dev/ad0s1b /mnt5) cd /usr/src; make...