For details on building a Cygwin hosted(on windows) toolchain for Linux targets see the howto at; http://www.xraylith.wisc.edu/~khan/software/gnu-win32/cygwin-to-linux-cr oss-howto.txt Thanks Ram -----Original Message----- From: Brian Rose [mailto:lists@xxxxxxxxxxxxx] Sent: Friday, December 10, 2004 1:24 PM Cc: gcc-help@xxxxxxxxxxx Subject: Re: Compile Linux binary on Windows? Borislav Peev wrote: > Hello. > > I am searching the web for solution to compile Linux binaries on windows > platform. I'm stuck and > because gcc is available for so many platforms I hope there is way to > accomplish this task. > This really could save me A LOT of restarts... Please excuse me if this > is not the right please to ask > or if I missed something in the documentation. > > Best regard, bobef. > > I have an article detailing how to build a gcc cross compiler on windows. My target is an embedded processor with no os, so you'd have to find out which little bits to change to make it compile a x686 linux target. My guess is that changing the TARGET=xxx environment variable in my build process will do the trick. http://brianrose.net/columns/CrossToolsWin32.html -- Brian