Messages in this thread | | | Date | Mon, 27 Jan 2003 11:00:08 -0600 | From | Steve Kenton <> | Subject | [FYI} The cygwin tool chain can *almost* build a 2.5.59 kernel |
| |
Why anyone would want to is arguable. I was looking at uml and line as I was downloading the 2.5.59 tar ball to peruse the source and the question of "Hmmm, I wonder if ..." drifted up, so I gave it a try.
After fixing a few things like output format and one link error,
make defconfig ARCH=i386
did the expected things, as did oldconfig, config, and menuconfig
The big problem is that the cygwin binutils, 'as' in particular do not support .subsection and .previous for some reason. They are 2.13.? something special for cygwin which might explain it. Anyway, once I hacked out the use of those (mainly in spinlocks, but a handful scattered around) and configed out a couple of problems like OSS it built a vmlinux (In windows PE format and probably not really useful)
It was an interesting "compile check" and might be helpful to some doing janitor work at schools etc. where you can't change to Linux or even dual boot because of "policies from above."
FYI
Steve - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |