From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dani Moncayo Newsgroups: gmane.emacs.devel Subject: Re: Two strange messages while building Emacs on MS-Windows Date: Mon, 10 Dec 2012 22:33:46 +0100 Message-ID: References: <83mwxpmtp6.fsf@gnu.org> <83fw3hm0nn.fsf@gnu.org> <83k3srdh3d.fsf@gnu.org> <838v96dgyd.fsf@gnu.org> <8338zecu4i.fsf@gnu.org> <83vcc9aa4a.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1355175233 4641 80.91.229.3 (10 Dec 2012 21:33:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 10 Dec 2012 21:33:53 +0000 (UTC) Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 10 22:34:07 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TiAzH-0006SI-5C for ged-emacs-devel@m.gmane.org; Mon, 10 Dec 2012 22:34:07 +0100 Original-Received: from localhost ([::1]:57169 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TiAz4-0007ov-JB for ged-emacs-devel@m.gmane.org; Mon, 10 Dec 2012 16:33:54 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:40797) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TiAz0-0007h4-VM for emacs-devel@gnu.org; Mon, 10 Dec 2012 16:33:52 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TiAyz-00089x-KW for emacs-devel@gnu.org; Mon, 10 Dec 2012 16:33:50 -0500 Original-Received: from mail-oa0-f41.google.com ([209.85.219.41]:47826) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TiAyx-00089I-Mr; Mon, 10 Dec 2012 16:33:47 -0500 Original-Received: by mail-oa0-f41.google.com with SMTP id k14so3462057oag.0 for ; Mon, 10 Dec 2012 13:33:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=2XvDjSrM/NHMA5a/hAUrV5gQ0zd9ZclJd/EdHqKFGWM=; b=NdAS3D8FCuM+ZkbDqguPX7PGdiqS+eY3H5Sc6BzW5wGZptpEkDj7CXfy3+s+NFLlbo 6QPMj1Acge282olxQzENw7UxiCcbtBz0UW+HLcH4XqJLDm66Hkm0cpNLYrKyiM1KvonM loqxtA3XIELEZ66wApHu0B37G0CmLLuUIEPBL+Zy30dnVy8m2dncJXdBzpAuh5rTxqsq 9AZ40xGaOiwybEPi+5fBb3WHek/mdjGglxpKclg3j/WX3r5K4o881kR7iXTOAIzt8AkI SWhjB9mIvFT4cXZSKzNEhP9Icz1xSzLrGwBQ2U9yZImpWeJVXXaX2OEI32B5QqhtMy44 X3Ww== Original-Received: by 10.60.31.205 with SMTP id c13mr8052874oei.135.1355175226877; Mon, 10 Dec 2012 13:33:46 -0800 (PST) Original-Received: by 10.60.11.39 with HTTP; Mon, 10 Dec 2012 13:33:46 -0800 (PST) In-Reply-To: <83vcc9aa4a.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 209.85.219.41 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:155440 Archived-At: > 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