This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
RE: Compile Linux binary on Windows?
- From: "Ramadass, Ramanathan" <Ramanathan dot Ramadass at spirentcom dot com>
- To: <bobef at paintballforce dot com>,"Brian Rose" <lists at brianrose dot net>
- Cc: <gcc-help at gcc dot gnu dot org>
- Date: Fri, 10 Dec 2004 15:10:29 -0800
- Subject: RE: Compile Linux binary on Windows?
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@brianrose.net]
Sent: Friday, December 10, 2004 1:24 PM
Cc: gcc-help@gcc.gnu.org
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