unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Eshell: Running GNU Make (Cygwin) on Windows 7
Date: Fri, 08 Jun 2012 09:13:33 +0300	[thread overview]
Message-ID: <83pq9auy9e.fsf@gnu.org> (raw)
In-Reply-To: <CAENLK5WHewPWSVQGwzhTWm8cLRUtgiaEU1gfJfqoGYummhvVPQ@mail.gmail.com>

> Date: Thu, 7 Jun 2012 18:59:58 -0700
> From: William Crandall <bc3141592@gmail.com>
> 
> Dan Espen writes:
> 
> > Why Eshell?
> >
> > M-x compile
> >
> > --
> > Dan Espen
> 
> Thanks Dan, but M-x compile gives me:
> 
> --------------------------------------------------
> Compilation started at Thu Jun 07 18:51:13
> 
> make -k
> 'make' is not recognized as an internal or external command,
> operable program or batch file.
> 
> Compilation exited abnormally with code 1 at Thu Jun 07 18:51:13
> --------------------------------------------------
> 
> Cygwin 'make' works on Windows, in the Cygwin shell.

That's your problem, right there: you haven't set the Windows PATH to
find the Cygwin 'make'.  The directory /usr/bin/ doesn't really exist
on your filesystem, as far as Windows is concerned, it is an illusion
created by Cygwin.  Find its real name (something like
C:\Cygwin\usr\bin perhaps?) and add it to the Windows PATH.  Then you
will be able to call it from "M-x compile" and from Eshell alike.

Alternatively, install the Cygwin build of Emacs, which will find
'make' like the Cygwin shell does.

IOW, mixing Cygwin and native Windows tools needs extra work.



  reply	other threads:[~2012-06-08  6:13 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-08  0:10 Eshell: Running GNU Make (Cygwin) on Windows 7 William Crandall
2012-06-08  1:59 ` William Crandall
2012-06-08  6:13   ` Eli Zaretskii [this message]
2012-06-08 17:11   ` William Crandall
     [not found] <mailman.2415.1339114666.855.help-gnu-emacs@gnu.org>
2012-06-08  1:27 ` Dan Espen
2012-06-08  2:51 ` rusi

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=83pq9auy9e.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=help-gnu-emacs@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.
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).