[Top][All Lists]

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

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

From: Eli Zaretskii
Subject: Re: Two strange messages while building Emacs on MS-Windows
Date: Mon, 10 Dec 2012 23:08:21 +0200

> Date: Mon, 10 Dec 2012 21:57:32 +0100
> From: Dani Moncayo <address@hidden>
> Cc: address@hidden, address@hidden
> "mingw32-make [-j4] compile" takes:
>   - With revno 111165 (before your changes in `lisp/makefile.w32-in'):
>     . without "-jN": 15:57
>     . with -j4: 15:34
>   - With revno 111175:
>     . without "-jN": 16:21
>     . with -j4: 6:23
> A full bootstrap with "-j4" (of the last trunk) has taken 13:53.

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.

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

reply via email to

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