This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: GCC 2.95.3-4 Problem


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]