unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: it looks like make --win32 doesn't solve the problem.
Date: Fri, 02 Jun 2006 13:39:16 +0300	[thread overview]
Message-ID: <u4pz3et9n.fsf@gnu.org> (raw)
In-Reply-To: <877j40bx46.fsf@offby1.atm01.sea.blarg.net> (message from Eric Hanchrow on Thu, 01 Jun 2006 10:32:09 -0700)

> From: Eric Hanchrow <offby1@blarg.net>
> 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.

      reply	other threads:[~2006-06-02 10:39 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-01  7:28 it looks like make --win32 doesn't solve the problem Steven Wu
2006-06-01 12:17 ` Eli Zaretskii
2006-06-01 13:41   ` Steven Wu
2006-06-01 13:57     ` Jason Rumney
2006-06-01 17:01       ` Eli Zaretskii
2006-06-01 17:32 ` Eric Hanchrow
2006-06-02 10:39   ` Eli Zaretskii [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=u4pz3et9n.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).