delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/01/31/14:39:33

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Subject: Re: Re: gcc as strictly win32 compiler
From: "Timothy C Prince" <tprince AT myrealbox DOT com>
To: maxb AT ukf DOT net
CC: smcbride AT jvbfinancial DOT com, cygwin AT cygwin DOT com
Date: Fri, 31 Jan 2003 19:39:26 +0000
X-Sender: tprince
MIME-Version: 1.0
Message-ID: <1044041966.9fe50b60tprince@myrealbox.com>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id h0VJdWK29362


-----Original Message-----
From: "Max Bowsher" <maxb AT ukf DOT net>
To: <smcbride AT jvbfinancial DOT com>, <cygwin AT cygwin DOT com>
Date: Fri, 31 Jan 2003 19:26:12 -0000
Subject: Re: gcc as strictly win32 compiler

Sean McBride wrote:
>... as I understand it, cygwin.dll interprets many commands and
> uses MSVCRT.dll on the back end.  How do I create a redistributable
> for users without cygwin, and How badly does this hit performance?

Cygwin does not use msvcrt.dll. It uses newlib as its C library, which is
compiled into cygwin1.dll.
...
If you are not using any of the unix APIs, you may be interested in the
MinGW project (mingw.sf.net). Cygwin's gcc takes the -mno-cygwin option
which causes it to function as a MinGW compiler - i.e. the produced exes use
MSVCRT, not cygwin1.dll.
___________________________________________________
Newlib is not highly optimized, but certain "math library" functions in MSVCRT.dll are extremely slow on P4; if you use those functions, you may see a measurable performance loss with -mno-cygwin.  I doubt any valid generalizations could be made on performance.


Tim Prince

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019