This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Rebuilding make
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.fedin@fedinw7x64 /usr/src/make-3.82.90-1
> $ time make.old
>
> [skip]
>
> real 0m45.759s
> user 0m23.206s
> sys 0m19.410s
>
> p.fedin@fedinw7x64 /usr/src/make-3.82.90-1
> $ time make.old clean
>
> [skip]
>
> real 0m7.520s
> user 0m2.767s
> sys 0m4.268s
>
> p.fedin@fedinw7x64 /usr/src/make-3.82.90-1
> $ time make
>
> [skip]
>
> real 0m31.869s
> user 0m16.470s
> sys 0m14.061s
>
> p.fedin@fedinw7x64 /usr/src/make-3.82.90-1
> $ time make clean
>
> [skip]
>
> real 0m2.740s
> user 0m0.748s
> sys 0m1.643s
>
> p.fedin@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