delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2000/07/27/13:45:24

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-developers-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-developers-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com
Date: Thu, 27 Jul 2000 13:37:59 -0400
Message-Id: <200007271737.NAA08113@envy.delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
To: cygwin-developers AT sources DOT redhat DOT com
Subject: build speedup patch

Note to Mumit: includes patch to w32api/include/windows.h

I've just checked in a change to winsup.h (and corresponding tweaks
elsewhere) that cuts a third of the time off the cygwin1.dll build.
Basically, we were including every single windows header in every
file, although most weren't needed.  I added some defines to winsup.h
to exclude many of the windows headers, and tweaked the few files that
actually needed more than the usual headers (7 of 63 required
winuser.h, 2 required winnls.h, 1 required winsock.h).

My build times (wall clock time) for new-cygwin1.dll went from six
minutes to four.  (ps: disabling "-g -O2" dropped it further to three
minutes).

- Raw text -


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