Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Sat, 5 Jun 2004 18:17:48 +0200
From: "Gerrit P. Haase" <gp@familiehaase.de>
Reply-To: "Gerrit @ cygwin" <cygwin@cygwin.com>
Organization: Esse keine toten Tiere
Message-ID: <204603831.20040605181748@familiehaase.de>
To: "Matthieu VIAL" <mvial@uxp.fr>
CC: cygwin@cygwin.com
Subject: Re: cygwin gcc performance
In-Reply-To: <EMEDIJAHPGFLFKNJCJHJAEGACAAA.mvial@uxp.fr>
References: <EMEDIJAHPGFLFKNJCJHJAEGACAAA.mvial@uxp.fr>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

Hallo Matthieu,

> Could someone explain me why gcc cygwin compiler take so long to build a
> simple hello world program compared with mingw ?

The system calls go through cygwin1.dll and not directly to the system
(for every for executable linked against cygwin1.dll).

You may speed up your compiler if you build it optimized for your
platform.  The distributed gcc is compiled for arch=i486, optimized
for your processor would result in a speedup about 20-30%. 

Gerrit
-- 
=^..^=



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

