What I understood was that you could define the build system and the target system in the mkconfig file, but that didn't work.  I got this message:

lib9 compilation failed

So, I also changed the SYSHOST (SYSTYPE) and SYSTARG variables in the makemk.sh file and got this.

gcc -c -I/home/jeramy/Documents/inferno/Inferno/386/include -I/home/jeramy/Documents/inferno/include -I/home/jeramy/Documents/inferno/utils/include dirstat-Linux.c rerrstr.c errstr-Linux.c getuser-Linux.c charstod.c cleanname.c create.c dirwstat.c fmtprint.c fmtvprint.c fprint.c print.c runeseprint.c runesmprint.c runesnprint.c runevseprint.c seprint.c smprint.c snprint.c sprint.c vfprint.c vseprint.c vsmprint.c vsnprint.c dofmt.c dorfmt.c errfmt.c fcallfmt.c fltfmt.c fmt.c fmtfd.c fmtlock.c fmtprint.c fmtquote.c fmtrune.c fmtstr.c fmtvprint.c exits.c getfields.c pow10.c print.c qsort.c rune.c runestrlen.c seek.c strdup.c strtoll.c utflen.c utfrrune.c utfrune.c utfecpy.c utflen.c utfnlen.c utfrrune.c utfrune.c strecpy.c

gcc: error: dirstat-Linux.c: No such file or directory
gcc: error: errstr-Linux.c: No such file or directory
gcc: error: getuser-Linux.c: No such file or directory
lib9 compilation failed

I guess I will see if I can work it out later.