[Top][All Lists]

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

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

From: Christoph Scholtes
Subject: Bootstrap failure with new configure.bat (was Re: Proposed change to nt/INSTALL)
Date: Wed, 04 May 2011 23:08:31 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv: Gecko/20110414 Thunderbird/3.1.10

Hi Ben,

On 5/4/2011 6:54 PM, Ben Key wrote:

I have now tested my configure.bat changes on both Windows 2000 and
Windows XP in addition to Windows 7.  Once I have some input on the
change to nt/INSTALL I will commit the change.

Did you try to compile with a flag that includes spaces?

I changed

--cflags -IC:/Progra~2/GnuWin32/include


--cflags -I"C:/Program Files (x86)/GnuWin32/include"

and get the following error:

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

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?


reply via email to

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