delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/01/10/14:47:36

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-5.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <50ED6A83.3010702@samsung.com>
References: <50ED4D23 DOT 4070908 AT samsung DOT com> <50ED6A83 DOT 3010702 AT samsung DOT com>
Date: Thu, 10 Jan 2013 13:47:16 -0600
Message-ID: <CAHiT=DF08697RZy3gSCcDqLZSx=59OsnrV2sWsEZ7RR08cWS_w@mail.gmail.com>
Subject: Re: Rebuilding make
From: Reini Urban <rurban AT x-ray DOT at>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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 Wed, Jan 9, 2013 at 7:02 AM, 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.

0m45.759s+0m7.520s => 0m31.869s+0m2.740s

Great! Can you gist the patches somewhere please?

-- 
Reini Urban
http://cpanel.net/   http://www.perl-compiler.org/

--
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