[Top][All Lists]

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

Re: Bootstrap failure with new configure.bat (was Re: Proposed change to

From: Eli Zaretskii
Subject: Re: Bootstrap failure with new configure.bat (was Re: Proposed change to nt/INSTALL)
Date: Thu, 05 May 2011 06:34:27 -0400

> Date: Wed, 04 May 2011 23:08:31 -0600
> From: Christoph Scholtes <address@hidden>
> CC: address@hidden, Eli Zaretskii <address@hidden>
> gcc -I. -c -gdwarf-2 -g3 -mno-cygwin -mtune=pentium4 -O2 
> -DENABLE_CHECKING -DXASSERTS -fno-crossjumping  -IC:/Program -o 
> oo-spd/i386/emacs.o emacs.c
> emacs.c:22:20: fatal error: config.h: No such file or directory 
> compilation terminated.
> mingw32-make[2]: *** [oo-spd/i386/emacs.o] Error 1
> mingw32-make[2]: Leaving directory 
> `D:/devel/emacs/emacs-bzr/trunk_readonly/src'
> mingw32-make[1]: *** [bootstrap-temacs] Error 2
> mingw32-make[1]: Leaving directory 
> `D:/devel/emacs/emacs-bzr/trunk_readonly/src'
> mingw32-make: *** [bootstrap-gmake] Error 2
> Obviously, the CFLAG `-IC:/Program' is the culprit here. The gcc command 
> is generated correctly if the directory name does not contain any spaces.
> Earlier in the bootstrap during compilation of temacs the command is 
> correctly generated, for example:
> gcc -I. -c -gdwarf-2 -g3 -mno-cygwin -mtune=pentium4 -O2 
> -DENABLE_CHECKING -DXASSERTS -fno-crossjumping  -I"C:/Program Files 
> (x86)/GnuWin32/include" -ID:/devel/emacs/libXpm-3.5.8/include 
> -ID:/devel/emacs/libXpm-3.5.8/src -ID:/devel/emacs/gnutls-2.8.6/include 
> -DHAVE_CONFIG_H=1 -I. -I../nt/inc -I../src -o oo-spd/i386/filemode.o 
> filemode.c
> Eli,
> do you have any idea why the part after the first space gets stripped of 
> in some cases and in some cases it doesn't?

Recursive Make invocations?

Anyway, the answer to that is in the Makefiles (in nt/ and src/) and
in config.h generated by configure.bat.  If you cannot figure this
out, post them here, perhaps with the full transcript of the bootstrap
from the start till it fails, and someone will have the answer.

Also, do you have some sh.exe on PATH?  If so, try without it.

reply via email to

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