[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Access denied when compiling C++ from within emacs under cygwin
From: |
Amadeus W.M. |
Subject: |
Re: Access denied when compiling C++ from within emacs under cygwin |
Date: |
Thu, 22 Apr 2010 22:56:01 +0000 (UTC) |
User-agent: |
Pan/0.133 (House of Butterflies) |
On Thu, 22 Apr 2010 21:36:38 +0300, Eli Zaretskii wrote:
>> From: "Amadeus W.M." <amadeus84@verizon.net> Date: Thu, 22 Apr 2010
>> 03:27:55 +0000 (UTC)
>>
>> 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.
>
> First, what does "M-x emacs-version RET" display?
>
> Second, does this happen only with g++ or with any other command invoked
> through "M-x compile"?
I've fixed it. It wasn't just g++, it was the shell. I had to do what
says here regarding replacing the dos shell with bash:
http://www.khngai.com/emacs/cygwin.php