From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Building Emacs trunk on Windows 7, using MinGW + MSYS Date: Mon, 11 Jul 2011 19:07:03 +0300 Message-ID: <83wrfon6mw.fsf@gnu.org> References: <87hb6tylg1.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1310403196 14742 80.91.229.12 (11 Jul 2011 16:53:16 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 11 Jul 2011 16:53:16 +0000 (UTC) Cc: lekktu@gmail.com, dmoncayo@gmail.com, emacs-devel@gnu.org To: Jason Rumney Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 11 18:53:12 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QgJjL-0007Fc-3N for ged-emacs-devel@m.gmane.org; Mon, 11 Jul 2011 18:53:11 +0200 Original-Received: from localhost ([::1]:41201 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QgJjI-0005vu-Om for ged-emacs-devel@m.gmane.org; Mon, 11 Jul 2011 12:53:08 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:57152) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QgIzT-00028q-Gh for emacs-devel@gnu.org; Mon, 11 Jul 2011 12:05:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QgIzR-0002Sd-S5 for emacs-devel@gnu.org; Mon, 11 Jul 2011 12:05:47 -0400 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:33635) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QgIzQ-0002ST-Vm; Mon, 11 Jul 2011 12:05:45 -0400 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0LO600M00F67IZ00@a-mtaout21.012.net.il>; Mon, 11 Jul 2011 19:05:05 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.229.156.102]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LO600MU6FCFHE40@a-mtaout21.012.net.il>; Mon, 11 Jul 2011 19:05:05 +0300 (IDT) In-reply-to: <87hb6tylg1.fsf@gnu.org> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 80.179.55.169 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:141947 Archived-At: > From: Jason Rumney > Date: Mon, 11 Jul 2011 21:51:42 +0800 > Cc: emacs-devel@gnu.org, Dani Moncayo > > > cmd /c "fc /b gl-tmp globals.h >nul 2>&1 || cp -f gl-tmp globals.h" > > Microsoft Windows [Version 6.1.7601] > > Copyright (c) 2009 Microsoft Corporation. All rights reserved. > > > > which seems to indicate that instead of running the fc.exe tool with > > /c, it is entering a sub-shell. Can you set the PATH, change to src/ > > and execute that command directly at the CMD prompt? Try also > > executing that in the MSYS sh.exe. Let's see what do you find. > > I also get this behaviour. Running the same command line at the shell > prompt seems to work (even including cmd /c, to run it in a subshell), > and exiting from that shell lets the build continue to successful > completion. > > I am using GNU make 3.81 (i386-mingw) on Vista, with no unix-like shells > anywhere on my PATH. Can you use some utility to see what was the exact command line with which that sub-shell was invoked, and who was its parent process? Process Explorer from Sysinternals is one such utility.