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: it looks like make --win32 doesn't solve the problem. Date: Fri, 02 Jun 2006 13:39:16 +0300 Message-ID: References: <877j40bx46.fsf@offby1.atm01.sea.blarg.net> Reply-To: Eli Zaretskii NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1149244777 13977 80.91.229.2 (2 Jun 2006 10:39:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 2 Jun 2006 10:39:37 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jun 02 12:39:35 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Fm73z-00063X-Bp for ged-emacs-devel@m.gmane.org; Fri, 02 Jun 2006 12:39:31 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fm73y-0000YK-Sy for ged-emacs-devel@m.gmane.org; Fri, 02 Jun 2006 06:39:30 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Fm73n-0000XR-KO for emacs-devel@gnu.org; Fri, 02 Jun 2006 06:39:19 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Fm73l-0000VD-4o for emacs-devel@gnu.org; Fri, 02 Jun 2006 06:39:18 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fm73k-0000V9-KQ for emacs-devel@gnu.org; Fri, 02 Jun 2006 06:39:16 -0400 Original-Received: from [192.114.186.66] (helo=romy.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Fm7AC-0003np-Ao for emacs-devel@gnu.org; Fri, 02 Jun 2006 06:45:56 -0400 Original-Received: from HOME-C4E4A596F7 (IGLD-80-230-33-177.inter.net.il [80.230.33.177]) by romy.inter.net.il (MOS 3.7.3-GA) with ESMTP id ETS06535 (AUTH halo1); Fri, 2 Jun 2006 13:39:14 +0300 (IDT) Original-To: Eric Hanchrow In-reply-to: <877j40bx46.fsf@offby1.atm01.sea.blarg.net> (message from Eric Hanchrow on Thu, 01 Jun 2006 10:32:09 -0700) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:55615 Archived-At: > From: Eric Hanchrow > Date: Thu, 01 Jun 2006 10:32:09 -0700 > > I have a set of pages that describe various failures I've encountered > with various methods of building Emacs -- it's at > http://www.emacswiki.org/cgi-bin/wiki/BuildingOnWindowsTableofContents I try to analyze your report below, but I'd really like to hear the OP of this thread to confirm that his attempt failed with the same error message. Otherwise, perhaps there's another problem somewhere. > The one that seems most relevant to this thread is > http://www.emacswiki.org/cgi-bin/wiki/BuildingCvsWThirtyTwoCygwin I believe you are referring to this error message: "../nt/oo-spd/i386/addsection" "oo-spd/i386/temacs.bin" "oo-spd/i386/temacs.exe" EMHEAP 16 '..' is not recognized as an internal or external command, operable program or batch file. > I believe those pages have sufficient detail to allow someone to > reproduce what I did, and see what I saw. I don't have a Cygwin port of Make (and don't plan on installing one), but this error message looks very strange to me, because there's nothing wrong with the command which causes it. The error message clearly comes from cmd.exe, but on my machine cmd.exe runs such commands without any problems, both from the command prompt and from within (a MinGW-built) Make. It is possible that Cygwin's Make invokes that command like this: cmd.exe /c "../nt/oo-spd/i386/addsection" "oo-spd/i386/temacs.bin" "oo-spd/i386/temacs.exe" EMHEAP 16 When I type such a command from the cmd prompt, I indeed see the above error message. But if this is how the Cygwin port of Make invokes commands under the --win32 switch, then that's a bug in the Cygwin port: it should mirror the forward slashes in the first argument of the cmd.exe /c command line, because cmd treats forward slashes as switch characters. Please report this bug to the Cygwin maintainers. (To avoid the immense complications of command arg quoting on Windows, the native MinGW/MSVC port of Make puts the command on a batch file and invokes cmd to run that batch file, so such problems never happen with the native port.) lisp/makefile.w32-in had a small problem with cmd as the shell in some specific cases (I think they are unrelated to bootstrap), but I fixed that now.