X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-5.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: <6BFA9AF2C7556E42AFF3F187ECAB07B802F9CFD0@bespdc01.mediaxim.local> References: <6BFA9AF2C7556E42AFF3F187ECAB07B802F9CFD0 AT bespdc01 DOT mediaxim DOT local> Date: Mon, 23 Apr 2012 07:40:25 -0400 Message-ID: Subject: Re: Building for nocygwin From: Earnie Boyd To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Mon, Apr 23, 2012 at 7:35 AM, Michel Bardiaux wrote: > A number of open-source projects (a.o. libav) indicate the use of > -mnocygwin to build, on cygwin, libraries or executables that do not > need the cygwin dll Section 6.10 of the FAQ also says so, but also > states "This section has not yet been updated for the latest net > release.". And indeed, gcc 4.5.3 just kicks you out with "The > -mno-cygwin flag has been removed; use a mingw-targeted > cross-compiler.". > > Using gcc-3, or setting it using /etc/alternatives, works but of course > it is better to use the more recent compiler. Could someone publish the > appropriate recipe? Sure, --host=i686-pc-mingw32 or some other appropriate host string during configure. You'll need to make sure you have the appropriate files for cross compiling. The -mno-cygwin has been gone for some months moving into years. -- Earnie -- https://sites.google.com/site/earnieboyd -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple