delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/01/09/08:04:04

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-6.6 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,SPF_HELO_PASS
X-Spam-Check-By: sourceware.org
Message-id: <50ED6A83.3010702@samsung.com>
Date: Wed, 09 Jan 2013 17:02:59 +0400
From: Fedin Pavel <p DOT fedin AT samsung DOT com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:10.0) Gecko/20120206 Thunderbird/10.0
MIME-version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Rebuilding make
References: <50ED4D23 DOT 4070908 AT samsung DOT com>
In-reply-to: <50ED4D23.4070908@samsung.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On 09.01.2013 14:57, Fedin Pavel wrote:
> 1. doc/fdl.texi and doc/make-stds.texi files are missing from the 
> archive.
> 2. configure seems to incorrectly determine HAVE_DOS_PATHS as true. 
> This breaks $abspath() function.
>
>  I solved (1) by adding these files from the original UNIX archive. Of 
> course i can solve (2) by tweaking config/dospaths.m4, however perhaps 
> i don't know something ? How do you build make ?
  Just FYI: i have tweaked dospaths.m4 and built a working make. After 
this i successfully patched it to use spawn(). For benchmarking i used 
'all' then 'clean' targets on make's own source code.
--- cut ---
p DOT fedin AT fedinw7x64 /usr/src/make-3.82.90-1
$ time make.old

[skip]

real    0m45.759s
user    0m23.206s
sys     0m19.410s

p DOT fedin AT fedinw7x64 /usr/src/make-3.82.90-1
$ time make.old clean

[skip]

real    0m7.520s
user    0m2.767s
sys     0m4.268s

p DOT fedin AT fedinw7x64 /usr/src/make-3.82.90-1
$ time make

[skip]

real    0m31.869s
user    0m16.470s
sys     0m14.061s

p DOT fedin AT fedinw7x64 /usr/src/make-3.82.90-1
$ time make clean

[skip]

real    0m2.740s
user    0m0.748s
sys     0m1.643s

p DOT fedin AT fedinw7x64 /usr/src/make-3.82.90-1
$
--- cut ---
  'clean' target runs especially faster, you see the difference with a 
naked eye. I believe in case of gcc there's disk access factor.

-- 
  Kind regards
  Pavel Fedin
  Expert engineer, Samsung Moscow research center


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

- Raw text -


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