X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.3 required=5.0	tests=AWL,BAYES_00,KHOP_THREADED,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Content-Type: text/plain;	charset="utf-8"
Content-class: urn:content-classes:message
Subject: RE: Building for nocygwin
Date: Mon, 23 Apr 2012 16:52:54 +0200
Message-ID: <6BFA9AF2C7556E42AFF3F187ECAB07B802F9D01E@bespdc01.mediaxim.local>
In-Reply-To: <20120423140440.GG7097@calimero.vinschen.de>
References: <6BFA9AF2C7556E42AFF3F187ECAB07B802F9CFD0@bespdc01.mediaxim.local> <CA+sc5m=cKU5DaZFeJuEas-nfXD9uAsxq4V_9hcoUAM77u3OKNA@mail.gmail.com> <6BFA9AF2C7556E42AFF3F187ECAB07B802F9CFEF@bespdc01.mediaxim.local> <CA+sc5m=mC16bBFTBpPACoewcxKWt4KSsH22mUiVu0BrYCVObyQ@mail.gmail.com> <6BFA9AF2C7556E42AFF3F187ECAB07B802F9D004@bespdc01.mediaxim.local> <20120423140440.GG7097@calimero.vinschen.de>
From: "Michel Bardiaux" <MBardiaux@mediaxim.be>
To: <cygwin@cygwin.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id q3NErcAj023970

> As Earnie wrote, now you should use the appropriate mingw32 or mingw64 cross compiler, 
> both of which are available as part of the Cygwin distro.
> This *is* the general solution.

I *get* that. My problem was, the web is so cluttered with pages mentioning the no-cygwin thing (including the cygwin FAQ!) that finding a good howto is nearly impossible. Lots of pages about running the mingw toolchain on mingw/msys, but at some point in the past I had installed cygwin *and* msys, and managing the path, the profile scripts, etc was a real pain, so never again.

With the benefit of Csaba's hint, the basic recipe is now:

1. Install mingw-gcc-core (which pulls other necessary packages)
2. i686-pc-mingw32-gcc -o jef.exe jef.c

With that under my belt, I can start thinking about adding spices, herbs, truffles, and soy sauce :-)

Is there a deep reason not to amend the FAQ?

