help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Eshell: Running GNU Make (Cygwin) on Windows 7


From: William Crandall
Subject: Re: Eshell: Running GNU Make (Cygwin) on Windows 7
Date: Fri, 8 Jun 2012 10:11:06 -0700

Thank Eli!

That's it exactly.
I added the real directory to PATH and we're right as rain.

Thanks again,

-BC


Eli Zaretskii writes:

> 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.


On Thu, Jun 7, 2012 at 6:59 PM, William Crandall <bc3141592@gmail.com> wrote:
> 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.
>
> And I can do much of what I want in eshell, git, etc.
> So it would be nice to be able to call Cygwin/make from there.
>
> -BC
>
>
> On Thu, Jun 7, 2012 at 5:10 PM, William Crandall <bc3141592@gmail.com> wrote:
>> Hello,
>>
>> Is there a "best" way to run Cygwin's GNU Make from Eshell
>> on Windows 7?
>>
>> GNU Make 3.82.90 (Built for i686-pc-cygwin) runs fine in the
>> Cygwin shell, called from Cygwin's directory: /usr/bin/make
>>
>> How would you call it from Eshell?
>>
>> Thanks for any pointers!
>>
>> -BC
>>
>> Emacs: 24.1.50.1
>> Windows 7



reply via email to

[Prev in Thread] Current Thread [Next in Thread]