Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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" 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> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id h0VJdWK29362 -----Original Message----- From: "Max Bowsher" To: , 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/