GeneralThis forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
As far as I am aware, Linux just needs gcc to compile the kernel. Windows ports of GCC are available, including cross-compilers.
You may have some difficulty in configuring it, since the configure scripts rely on proper terminal control or X — and you may also have problems installing it (and you probably the rest of an operating system before you could use it).
You can solve most of these problems using Cygwin, which provides a roughly POSIX environment for Windows.
gcc can be used as a cross-compiler, and it does run on Windows. I don't know the details of compiling linux from windows, but I do compile windows from linux using gcc.
You have to build the gnu toolset correctly. I *think* that you would compile the gnu source in Windows using gcc for windows, and specify a compile time option that the suite you were compiling was to generate Linux executables.
While I do believe this is possible, I also believe that you would find it to be a fairly formidable task to build a working environment for that. Maybe cygwin would provide some help with that part of it.
Ok sure you can put gcc on windows and try it but even if you were to get it working the effort involved would be 10x setting up a linux distro to do this.
On my stick, both boot much faster than vista. I usually
work in RAM and when I want to save things I mount
the partition where I want to save my changes
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.