emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: bootstrap failed on Windows XP


From: Eli Zaretskii
Subject: Re: bootstrap failed on Windows XP
Date: Sat, 23 Dec 2006 15:09:55 +0200

> From: Zhang Wei <address@hidden>
> Date: Sat, 23 Dec 2006 18:24:30 +0800
> 
> D:\download\emacs-gbk\nt>make -v
> GNU Make 3.80

I don't recommend this version for building the Windows port.  Can you
upgrade to Make 3.81?  Note that nt/INSTALL says in its compatibility
table:
                                         sh exists     no sh

    mingw32 compiled make 3.80:          okay          unknown[6]

Also, where did you get the binary of this version of Make?  If you
compiled it yourself, then with what compiler, and what W32-specific
options in config.h.W32 (near its end) did you turn on before
compiling Make?

> shell is "cmd".

I don't think Make 3.80 can use CMD reliably (v3.81 does support
that).  What does Make say, if you type the following command in the
nt/ subdirectory:

    make which-sh

>     Considering target file `oo-spd/i386/addsection.exe
> '.
>      File `oo-spd/i386/addsection.exe
> ' does not exist.

Here's your problem, right there: there's a newline embedded in the
target's name, after the .exe suffix.  Make is trying to build
"addsection.exe<NL>", which of course cannot succeed.

How did this happen?  Did you checkout the CVS tree with the -kb
option to "cvs up" or "cvs co"?  If not, some of your files in the nt/
subdirectory might have strange line endings.  Can you please take a
closer look at nt/makefile.w32-in and the file nt/makefile produced
from it, and see what kind of characters are found there at the end of
each line, and in particular at the end of this line:

addsection:       stamp_BLD $(BLD)/addsection.exe

TIA




reply via email to

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