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 Message-ID: From: "Highley, David (CEWF)" To: "'cygwin AT cygwin DOT com'" Subject: RE: GCC 2.95.3-4 Problem Date: Mon, 11 Jun 2001 17:47:13 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Chris, Is this to say that a static build is not supported? -----Original Message----- From: Christopher Faylor [mailto:cgf AT redhat DOT com] Sent: Monday, June 11, 2001 2:45 PM To: cygwin AT cygwin DOT com Cc: dhighley AT harris DOT com Subject: Re: GCC 2.95.3-4 Problem 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