> I want to build Plan9 from scratch under Windows/*NIX. > I built working (seems :) toolchain (yacc, 8a, 8c, 8l) under Windows > XP using Open Watcom Compiller. > Has anyone done something similar?
a few years ago, using the Inferno compiler suite, I built an environment on Solaris/sparc to cross-compile at least the Plan 9 libraries and kernel (for x86, I think, although the target type doesn't really matter). it required some changes to the mkfiles, because the root of the file system was different, but the compilation itself was fine. i don't think it would be much harder under Windows. i think the awk distributed with Inferno would work for the port mkfile mangling. there are some other tools in the Inferno environment that might be similarly useful.