Steven Edwards, dando pulos de alegria, escreveu :
>>Is there any way to build all coLinux staff on Windows environment
>>without any Linux cross-compileing step?
>>If the answare yes, is there any step-by-step description about this?
> I think you would need a gcc that supports a linux-elf target for the step of building the kernel.
> I was going to try to build one for Cygwin for another project. If it works I would be happy to
> post it.
Until 2.6.9 (or 2.6.10) you couldn't without changing the linux kernel
build process, because it generated some files only different in case in
the same directory (something like file.s and file.S).
Dan made it to change the linux kernel build process, so this cases
disappeared and now it should be possible.
Anyway, this can only be made on Cygwin (because of the use of symbolic
links and *nix build tools) and you would need a cross-compiler for
The window binaries can be built with mingw32, on Cygwin (again because
there are symbolic links), but there is the need to tweak the makefiles,
and also compile the dependent libraries - fltk and mxml.
The final problem is to use the same gcc version for the win32 target
and the elf32 target. In the linux build environment, gcc 3.3.x and
3.4.x don't produce binary compatible code, for example.
I'm a proponent of changing the build system to scons (www.scons.org),
so this can be handled in a more gracefully manner. This implies the use
of python, but python is needed for the colinux build process, anyway.