unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: William Xu <william.xwl@gmail.com>
Cc: 8564@debbugs.gnu.org
Subject: bug#8564: 24.0.50; bootstrap on windows 7: `gl-stamp' target failed
Date: Wed, 27 Apr 2011 06:29:41 -0400	[thread overview]
Message-ID: <E1QF205-00089p-NO@fencepost.gnu.org> (raw)
In-Reply-To: <21gl7hagz2we.fsf@gmail.com> (message from William Xu on Wed, 27 Apr 2011 13:20:17 +0800)

> From: William Xu <william.xwl@gmail.com>
> Date: Wed, 27 Apr 2011 13:20:17 +0800
> 
> Here is the last build log: 
> 
>   mkdir "oo-spd"
>   mkdir "oo-spd/i386"
>   echo oo-spd/i386 > stamp_BLD
>   rm gl-tmp
>   "../lib-src/oo-spd/i386/make-docfile" -d . -g dosfns.o msdos.o xterm.o xfns.o xmenu.o xselect.o xrdb.o xsmfns.o dbusbind.o dosfns.o msdos.o xterm.o xfns.o xmenu.o xselect.o xrdb.o xsmfns.o fringe.o image.o fontset.o menu.o dbusbind.o w32.o w32console.o w32fns.o w32heap.o w32inevt.o w32menu.o w32proc.o w32reg.o w32select.o w32term.o w32xfns.o font.o w32font.o w32uniscribe.o dispnew.o frame.o scroll.o xdisp.o window.o bidi.o charset.o coding.o category.o ccl.o character.o chartab.o cm.o term.o terminal.o xfaces.o emacs.o keyboard.o macros.o keymap.o sysdep.o buffer.o filelock.o insdel.o marker.o minibuf.o fileio.o dired.o cmds.o casetab.o casefiddle.o indent.o search.o regex.o undo.o alloc.o data.o doc.o editfns.o callint.o eval.o floatfns.o fns.o print.o lread.o syntax.o bytecode.o proc
 ess.o callproc.o unexw32.o region-cache.o sound.o atimer.o doprnt.o intervals.o textprop.o composite.o > gl-tmp
>   cmd /c "fc /b gl-tmp globals.h >nul 2>&1 || cp -f gl-tmp globals.h"
>   Microsoft Windows [Version 6.1.7600]
>   Copyright (c) 2009 Microsoft Corporation.  All rights reserved.
> 
>   l:\bin\emacs\src>

Is this something new?  Did you ever bootstrap on that machine, or on
Windows 7 in general?

After you bootstrap, does the same command work for a normal (i.e.,
non-bootstrap) build, or does it fail in the same way?

Finally, what version of Make did you use for that bootstrap?  What
does "make --version" display?  Also, did you use any kind of Unixy
shell (Make announces at the very beginning of the build process
whioch shell it uses)?

>   cp -f gl-tmp globals.h  # Wouldn't this be simpler & good enough? 

No, it's not good enough.  `cp' updates the time stamp of globals.h
each time you build, and therefore all the C files will be recompiled,
because they all include globals.h, even though the contents of
globals.h rarely changes.  That kinda makes Make redundant, since its
main goal is to avoid unnecessary compilations...  The command that
invokes `fc' only updates globals.h if the new version has different
contents.  IOW, this is the Windows way of saying move-if-change.





  reply	other threads:[~2011-04-27 10:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-27  5:20 bug#8564: 24.0.50; bootstrap on windows 7: `gl-stamp' target failed William Xu
2011-04-27 10:29 ` Eli Zaretskii [this message]
2011-04-28  2:24   ` William Xu
2011-04-28  4:53     ` Eli Zaretskii
2011-04-28  6:19       ` William Xu
2011-04-28 17:26         ` Eli Zaretskii

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=E1QF205-00089p-NO@fencepost.gnu.org \
    --to=eliz@gnu.org \
    --cc=8564@debbugs.gnu.org \
    --cc=william.xwl@gmail.com \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).