This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
RE: GCC 2.95.3-4 Problem
- To: "'cygwin at cygwin dot com'" <cygwin at cygwin dot com>
- Subject: RE: GCC 2.95.3-4 Problem
- From: "Highley, David (CEWF)" <dhighley at harris dot com>
- Date: Mon, 11 Jun 2001 17:47:13 -0400
Chris,
Is this to say that a static build is not supported?
-----Original Message-----
From: Christopher Faylor [mailto:cgf@redhat.com]
Sent: Monday, June 11, 2001 2:45 PM
To: cygwin@cygwin.com
Cc: dhighley@harris.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