Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Mon, 11 Jun 2001 17:44:48 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Cc: dhighley AT harris DOT com Subject: Re: GCC 2.95.3-4 Problem Message-ID: <20010611174448.B16916@redhat.com> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com, dhighley AT harris DOT com References: <3B2532F6 DOT 3040009 AT harris DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.11i In-Reply-To: <3B2532F6.3040009@harris.com>; from dhighley@harris.com on Mon, Jun 11, 2001 at 02:07:02PM -0700 On Mon, Jun 11, 2001 at 02:07:02PM -0700, David Highley wrote: >If I build a small application, the what utility, with the -mno-cygwin >option it fails on an freopen of stdin. You get no compiler errors and >no run time execution errors. If I try and build with the -static >option you get no compiler diagnostics but the build will not run on a >system without the cygwin1.dl library. So what is the magic for >building an application with the Cygwin port that can run on any >Windows goober box without Cygwin? The magic is called www.mingw.org. This is the cygwin mailing list. The -mno-cygwin option is added as a (regrettable) convenience for people who want to build non-cygwin apps. It basically produces a mingw application. If you are having a problem with -mno-cygwin then peruse the mingw information. cgf -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple