From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: William Crandall Newsgroups: gmane.emacs.help Subject: Re: Eshell: Running GNU Make (Cygwin) on Windows 7 Date: Fri, 8 Jun 2012 10:11:06 -0700 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: dough.gmane.org 1339175495 19756 80.91.229.3 (8 Jun 2012 17:11:35 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 8 Jun 2012 17:11:35 +0000 (UTC) To: help-gnu-emacs@gnu.org, eliz@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jun 08 19:11:33 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 1Sd2ij-0005RT-In for geh-help-gnu-emacs@m.gmane.org; Fri, 08 Jun 2012 19:11:33 +0200 Original-Received: from localhost ([::1]:36549 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sd2ij-000285-A0 for geh-help-gnu-emacs@m.gmane.org; Fri, 08 Jun 2012 13:11:33 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:49465) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sd2iP-0001Sr-Mf for help-gnu-emacs@gnu.org; Fri, 08 Jun 2012 13:11:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sd2iO-0000pr-1p for help-gnu-emacs@gnu.org; Fri, 08 Jun 2012 13:11:13 -0400 Original-Received: from mail-ob0-f169.google.com ([209.85.214.169]:63030) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sd2iK-0000or-Oq; Fri, 08 Jun 2012 13:11:08 -0400 Original-Received: by obbwd18 with SMTP id wd18so3432998obb.0 for ; Fri, 08 Jun 2012 10:11:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=iAldN/0JdQMfeGznpeMkBSfrG9HX3w5ll0rHgd/0HxE=; b=EuGEDver4DXSsCBwfIh60WWZWcsBSnNJq5WL19iFuY+WzIGwjcAwNp5/rbo6N0f2+/ WquRdD5FsoV6XCSNu/M+dJqpxESkszh6ljTCHfD159yo8CYLFJ68A50mdEbXipaL7T4H fZ110HJQmOnfXmqRKSAZvUOmCpOizj/MXf//nGwJdXKurIzIoz9HfT2Ul49pyuDyCW9S Vp543qutGcerya2eTaP9MVzSRx8v4Xq8iSkHv7ksarJD1xSkOqEVpeAx80aR4v9lmU0p YgEo6PwyDSuCCi4xLAG+kmkdl/FsRBghwrljpRLqtQ198uRYYv66ULrj7MhOzs3cJeFC nZbQ== Original-Received: by 10.182.197.65 with SMTP id is1mr7827206obc.27.1339175466064; Fri, 08 Jun 2012 10:11:06 -0700 (PDT) Original-Received: by 10.182.16.35 with HTTP; Fri, 8 Jun 2012 10:11:06 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.214.169 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:85158 Archived-At: 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 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 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