From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Amadeus W.M." Newsgroups: gmane.emacs.help Subject: Access denied when compiling C++ from within emacs under cygwin Date: Thu, 22 Apr 2010 03:27:55 +0000 (UTC) Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1271935596 3491 80.91.229.12 (22 Apr 2010 11:26:36 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 22 Apr 2010 11:26:36 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Apr 22 13:26:35 2010 connect(): No such file or directory Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1O4uYF-00063b-4R for geh-help-gnu-emacs@m.gmane.org; Thu, 22 Apr 2010 13:26:35 +0200 Original-Received: from localhost ([127.0.0.1]:58493 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O4uYE-0004ml-Eh for geh-help-gnu-emacs@m.gmane.org; Thu, 22 Apr 2010 07:26:34 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O4uWq-0004M2-JO for help-gnu-emacs@gnu.org; Thu, 22 Apr 2010 07:25:08 -0400 Original-Received: from [140.186.70.92] (port=53166 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O4uWp-0004Lk-88 for help-gnu-emacs@gnu.org; Thu, 22 Apr 2010 07:25:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O4uWo-0001fG-AG for help-gnu-emacs@gnu.org; Thu, 22 Apr 2010 07:25:07 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:34780) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O4uWo-0001f3-3i for help-gnu-emacs@gnu.org; Thu, 22 Apr 2010 07:25:06 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1O4uWl-0005O8-UX for help-gnu-emacs@gnu.org; Thu, 22 Apr 2010 13:25:03 +0200 Original-Received: from pool-173-64-70-23.bltmmd.fios.verizon.net ([173.64.70.23]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 22 Apr 2010 13:25:03 +0200 Original-Received: from amadeus84 by pool-173-64-70-23.bltmmd.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 22 Apr 2010 13:25:03 +0200 X-Injected-Via-Gmane: http://gmane.org/ connect(): No such file or directory Original-Lines: 22 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: pool-173-64-70-23.bltmmd.fios.verizon.net User-Agent: Pan/0.133 (House of Butterflies) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:72793 Archived-At: I'm using windows emacs from within cygwin on my XP machine at work. I start a shell first, go to the directory where foobar.cpp resides, then emacs foobar.cpp & and finally, within emacs I do M-x compile g++ foobar.cpp The compilation fails with an "Access is denied" error message. Again, this is with windows emacs. The program does compile at the prompt in the shell, and it also compiles with cygwin's emacs-nox, so it's not a permission problem, nor a cygwin problem, it's windows emacs (possibly interacting somehow with cygwin). Does anyone have any suggestions how to even start debugging this? I have emacs-23-1 and cygwin 1.7. I tried emacs --debug-init but no messages are being displayed. My machine has recently been upgraded and on my old one I was running the same emacs-23-1, with the same .emacs file under cygwin 1.5 or so and I had absolutely no problems.