Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
X-Apparently-From: <earnie?boyd@yahoo.com>
Message-ID: <3A89867C.395FC4E3@yahoo.com>
Date: Tue, 13 Feb 2001 14:09:48 -0500
From: Earnie Boyd <earnie_boyd@yahoo.com>
Reply-To: Earnie Boyd <cygwin@cygwin.com>
X-Mailer: Mozilla 4.76 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Jonathan Kamens <jik@curl.com>
CC: cygwin@cygwin.com
Subject: Re: Optimizing away "ReadFile" calls when Make calls stat()
References: <20010213183634.1435.qmail@lizard.curl.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Jonathan Kamens wrote:
> 
> I realize that this is a bit gross.  However, (a) surely it isn't much
> more gross than storing symbolic links inside files and reading files
> to determine whether they should look executable :-), and (b) it
> really does give a drastic performance improvement for the small price
> of not using symbolic links in your source or build tree.
> 
> Please comment.
> 

This sounds very interesting but I believe work to eliminate TWO
ReadFiles would be best; but, I don't know if this is possible.  I have
found the following set of GCC flags to have great impact with the speed
with wish Cygwin flies.  Set both the CFLAGS variable and the CXXFLAGS
variable before configuring Cygwin.

-O3 -s -fnative-struct -foptimize-register-move -fgnu-linker -ffast-math
-fnew-exceptions -frerun-loop-opt -frerun-cse-after-loop -fgcse
-fpeephole -fstrength-reduce -fthread-jumps -fexpensive-optimizations
-fvolatile -mpreferred-stack-boundary=8 -march=i686

Earnie.

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

