From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Eshell: Running GNU Make (Cygwin) on Windows 7 Date: Fri, 08 Jun 2012 09:13:33 +0300 Message-ID: <83pq9auy9e.fsf@gnu.org> References: NNTP-Posting-Host: plane.gmane.org X-Trace: dough.gmane.org 1339136031 21876 80.91.229.3 (8 Jun 2012 06:13:51 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 8 Jun 2012 06:13:51 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jun 08 08:13:50 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ScsS5-00021Y-Vl for geh-help-gnu-emacs@m.gmane.org; Fri, 08 Jun 2012 08:13:42 +0200 Original-Received: from localhost ([::1]:45020 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ScsS5-00041U-OY for geh-help-gnu-emacs@m.gmane.org; Fri, 08 Jun 2012 02:13:41 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:53681) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ScsS0-00041D-IR for help-gnu-emacs@gnu.org; Fri, 08 Jun 2012 02:13:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ScsRy-0005qI-S1 for help-gnu-emacs@gnu.org; Fri, 08 Jun 2012 02:13:36 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:55670) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ScsRy-0005q9-Ke for help-gnu-emacs@gnu.org; Fri, 08 Jun 2012 02:13:34 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0M5A00900BWYA300@a-mtaout22.012.net.il> for help-gnu-emacs@gnu.org; Fri, 08 Jun 2012 09:13:32 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.210.75]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M5A008ZBBYKSDA0@a-mtaout22.012.net.il> for help-gnu-emacs@gnu.org; Fri, 08 Jun 2012 09:13:32 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 80.179.55.172 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:85151 Archived-At: > Date: Thu, 7 Jun 2012 18:59:58 -0700 > From: William Crandall > > 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.