Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 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).