I know this doesn't really seem helpful or nice, but if you don't have a compiler, you really need to get one. I have been using linux for a few months now (so I am still new to the community), and it seems that most programs come as source code (because people like open-source and being able to modify things). Depending on your distribution, you need to find your package manager of some sort and get the gcc, make, binutils, and the standard c libraries. This will probably come with your distro on the CD (although not in the latest version). Is there some reason that you can't/won't get the compiler? You will need it to install many programs in the future.
well in that case how can i compile for linux under windows. this is a constraint for me, since my linux router (ipcop distro) is productive. i cant compile inside that computer, though it can, especially when it comes to compiling binaries here and there. i don't have another computer with linux, so in that case i'm stuck with windows. i know there is way to compile for linux under windows. after all the source code already works out of the box, there is nothing to debug, only to compile.
Nonsense. By using Cygwin you DON'T compile programs for linux - I mean you do not compile programs that will work under linux. Cygwin is a kernel emulation enviroment. It allows you to run programs written for linux using Windows. And MinGW is a gnu c port that allows you to create native Windows application using native windows API, so it hasn't much to do with linux.
Actually I'm not sure if it is really possible to find windows compiler that will target output for linux kernel.