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: Brian Rose <lists at brianrose dot net>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Fri, 10 Dec 2004 16:24:23 -0500
- Subject: Re: Compile Linux binary on Windows?
- References: <41B97844.8050400@paintballforce.com>
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