Actually, I did successfully build colinux under windows once. Instead of
building a gcc cross-compiler, I built a native gcc compiler, then renamed
the tools ( like gcc, ar, ld, etc ) to their cross-compiler versions ( i.e.
i686-cygwin-gcc, etc). However, since you need a linux kernel source tree
and a built vmlinux, it seemed a little pointless - you will still need a
working linux (colinux works fine) to build the kernel and then you would
need to copy all the linux stuff over to windows.
The only real reason I can see for wanting to build under windows is if you
wanted to try and use Visual Studio and the Microsoft DDK to build. However,
this would involve a considerable number of changes as the compiler switches
are different, the source tree layout for device drivers is different, and
finally, the inline assembly syntax is different (Intel syntax vs. AT&T).
On the other hand, if linux.sys were built with the Microsoft DDK, you could
source debug it with the Microsoft tools. Currently I don't believe there
is any way to source debug linux.sys since WinDbg doesn't know how to read
gcc symbols and there are no GNU tools for kernel debugging Windows.
[mailto:colinux-devel-admin@...] On Behalf Of Matt Behrens
Sent: Monday, April 19, 2004 6:48 AM
To: Robert Citek
Subject: Re: [coLinux-devel] build environment on Windows
On Mon, Apr 19, 2004 at 02:37:25AM -0500, Robert Citek wrote:
> How does one build coLinux from source on Windows?
> I've been reading through the wiki page:
> It seems as though these instructions are for building coLinux on Linux.
Unless something has changed that I've missed, you can't yet build