all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Building cvs emacs on a dual-core machine
Date: Fri, 22 Dec 2006 23:50:11 +0200	[thread overview]
Message-ID: <uk60jlhws.fsf@gnu.org> (raw)
In-Reply-To: <emcjlj$4s5$1@sea.gmane.org> (message from Eric Lilja on Thu, 21 Dec 2006 01:14:45 +0100)

> From: Eric Lilja <mindcooler@gmail.com>
> Date: Thu, 21 Dec 2006 01:14:45 +0100
> 
> Eli Zaretskii wrote:
> >> From: Eric Lilja <mindcooler@gmail.com>
> >> Date: Wed, 20 Dec 2006 22:03:56 +0100
> >>
> >> Ok, here's where it errors out (same with --jobs=2 and --jobs=4):
> >> gcc -I. -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0400 -D_X86_=1 -c 
> >> -mno-cygwin -mtune=pentium4 -O2  -Di386 -D_CRTAPI1
> >> =_cdecl    -o oo-spd/i386/preprep.o preprep.c
> >> gcc -o oo-spd/i386/preprep.exe \
> >>                      -mno-cygwin  oo-spd/i386/preprep.o
> >>
> >> Essential Lisp files seem to be missing.  You should either
> >> do `make bootstrap' or create `lisp/abbrev.elc' somehow.
> >>
> >> mingw32-make: *** [maybe-bootstrap-SH] Error 255
> >>
> >> Yes, sorry, I'm on Windows.
> > 
> > That's an important piece of knowledge ;-)
> > 
> > What version of Make do you have?  What does "mingw32-make --version"
> > print?  The --jobs option started to work correctly on Windows only in
> > the latest version 3.81 of GNU Make.  If you don't have that version
> > of Make, --jobs will be very unreliable on Windows.
> 
> $ mingw32-make --version
> GNU Make 3.81

I found and fixed several problems with Windows makefile's which
prevented parallel builds.  Please resync with CVS and try again, I
hope it will work now.

Note that, since the native Windows build of Make (including
mingw32-make) doesn't yet support the jobserver feature, it by default
invokes sub-Make's with --jobs=1 switch, and thus defeats parallelism
in recursive Make invocations.  I made a provision for working around
this; to use it, invoke the top-level Make in the nt/ subdirectory
like this:

    mingw32-make bootstrap --jobs=2 XMFLAGS="--jobs=2"

The XMFLAGS variable is used to pass an explicit --jobs option to
sub-Make's, overriding the default --jobs=1.  (There's no requirement
that the argument to --jobs on the command line must be identical to
what you put in XMFLAGS, you can use different numbers if you wish.)

Please tell if you have any additional problems with parallel builds
on Windows.

And thanks again for drawing our attention to this.

  reply	other threads:[~2006-12-22 21:50 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-20 11:47 Building cvs emacs on a dual-core machine Eric Lilja
2006-12-20 14:40 ` Kim F. Storm
2006-12-20 19:05   ` Eli Zaretskii
2006-12-21 11:04     ` Kim F. Storm
2006-12-22 14:39     ` Chris Moore
2006-12-22 21:37       ` Eli Zaretskii
2006-12-22 23:39         ` Chris Moore
2006-12-20 18:54 ` Eli Zaretskii
2006-12-20 19:48   ` Eric Lilja
2006-12-20 21:03     ` Eric Lilja
2006-12-20 23:27       ` Eli Zaretskii
2006-12-21  0:14         ` Eric Lilja
2006-12-22 21:50           ` Eli Zaretskii [this message]
2006-12-22 23:30             ` Eric Lilja
2006-12-23  1:50               ` Eli Zaretskii
2006-12-23  2:04                 ` Eric Lilja
2006-12-23 10:42                   ` Eli Zaretskii
2006-12-23 10:59                     ` Eric Lilja
2006-12-23 11:24                       ` Eric Lilja
2006-12-23 12:46                         ` Eli Zaretskii
2007-01-03 20:56                           ` Eric Lilja
2007-01-04  4:15                             ` Eli Zaretskii
2007-01-04 20:17                             ` Randal L. Schwartz
2007-01-04 21:59                               ` Eli Zaretskii
2006-12-23  1:54             ` Juanma Barranquero
2006-12-23  9:53               ` Eli Zaretskii
2006-12-20 22:19 ` Richard Stallman
2006-12-26 19:22   ` Randal L. Schwartz
2006-12-27 21:16     ` Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=uk60jlhws.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.