From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3824 invoked by alias); 10 Dec 2004 23:10:42 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 3637 invoked from network); 10 Dec 2004 23:10:31 -0000 Received: from unknown (HELO Bighorn.Adtech-Inc.COM) (207.105.1.25) by sourceware.org with SMTP; 10 Dec 2004 23:10:31 -0000 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Compile Linux binary on Windows? Date: Fri, 10 Dec 2004 23:10:00 -0000 Message-ID: <9E9C7F94BFE2AA469B2D3B9C7AC363587D7133@bighorn.adtech-inc.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: From: "Ramadass, Ramanathan" To: , "Brian Rose" Cc: X-SW-Source: 2004-12/txt/msg00098.txt.bz2 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. >=20 > I am searching the web for solution to compile Linux binaries on windows=20 > platform. I'm stuck and > because gcc is available for so many platforms I hope there is way to=20 > accomplish this task. > This really could save me A LOT of restarts... Please excuse me if this=20 > is not the right please to ask > or if I missed something in the documentation. >=20 > Best regard, bobef. >=20 >=20 I have an article detailing how to build a gcc cross compiler on windows.=20 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=20 guess is that changing the TARGET=3Dxxx environment variable in my build=20 process will do the trick. http://brianrose.net/columns/CrossToolsWin32.html --=20 Brian