I screwed up my FreeBSD system, so I'm going to fix it from a FreeBSD live CD.
First, I boot into the live CD, mount the partition where the broken system resides in with
mount -t ufs /dev/ada0p5 /mnt, and used
ls /mnt to verify everything went as expected.
cd /mnt/usr/src, and
make clean, but it told me
sh: cc: not found.
Other compilers, such as
clang, aren't available in live CD too. I tried to install them with
pkg isn't available either.
Please help me out.