[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Eshell: Running GNU Make (Cygwin) on Windows 7
From: |
Eli Zaretskii |
Subject: |
Re: Eshell: Running GNU Make (Cygwin) on Windows 7 |
Date: |
Fri, 08 Jun 2012 09:13:33 +0300 |
> 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.