emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Two strange messages while building Emacs on MS-Windows


From: Dani Moncayo
Subject: Re: Two strange messages while building Emacs on MS-Windows
Date: Mon, 10 Dec 2012 22:33:46 +0100

> So now the new mystery is: why does it take you a whopping 7.5 min to
> compile the C sources of Emacs?  It takes about 30 sec for me with GCC
> 3.4.x; GCC 4.7.2 that you use should be about 2 times slower, so I'd
> expect something like 1 min, not 7.5.
>
> Try this:
>
>   cd nt
>   touch ../src/config.h
>   make -j6
>
> and time the last command.

That errors out here with the current trunk:
  mingw32-make[1]: *** No rule to make target
'../lisp/term/tty-colors.elc', needed by 'DOC'.  Stop.
  mingw32-make[1]: *** Waiting for unfinished jobs....
  mingw32-make[1]: Leaving directory 'C:/emacs/trunk/lib-src'
  makefile:453: recipe for target 'all-other-dirs-gmake' failed
  mingw32-make: *** [all-other-dirs-gmake] Error 2


>> So it seems that I've got an speedup of 50% approximately.  (Not bad!)
>
> You should be able to do better, like 8min at most.  Something is
> still getting in your way.
>
>> And for the record, from a MSYS bash:
>>
>>   $ time /c/emacs/trunk/bin/emacs --batch --eval '(message "Hello")'
>>   Hello
>>
>>   real    0m1.189s
>>   user    0m0.031s
>>   sys     0m0.000s
>
> Maybe that's your problem.  Does the time go down if you repeat that
> command?  If it doesn't, you may wish to try from cmd.exe.



-- 
Dani Moncayo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]