Richard Stanton wrote:
> > To allow for people who might be using the Cygwin bash shell in Emacs
> > under Windows (which is recommended by many), I do recommend making
> > the change I suggested above, adding the following lines to ob-C.el:
> >
> > > (tmp-bin-file (org-babel-temp-file
> To allow for people who might be using the Cygwin bash shell in Emacs
> under Windows (which is recommended by many), I do recommend making
> the change I suggested above, adding the following lines to ob-C.el:
>
> > (tmp-bin-file (org-babel-temp-file
> > "C-bin-"
>
> One problem - when using bash as the shell, when trying to execute the
> compiled file, it tries to execute the empty file, not the file that was just
> compiled (which has the same name, but the extension .exe, added by the
> compiler).
>
> A partial solution to this is to append ".exe" to the
> > As far as I can see, at this point the command being called is
> >
> > C:/emacs/emacs-24.0.94/bin/cmdproxy -c "gcc -o \"c:/users/stanton[...]C-
> bin-10700opx\" \"c:/users/Stanton[...]C-src-10700bfr.c\""
> >
> > (where [...] just means I deleted some more path information, but it's all
> valid)
> I think the "Access is denied" problem is probably the same as that listed
> here:
>
> http://lists.gnu.org/archive/html/help-gnu-emacs/2010-04/msg00247.html
>
> Unfortunately, when I switch to using bash as my shell under Windows, this
> causes problems with python-mode (though this is not rea
.schu...@gmx.com]
> Sent: Tuesday, March 27, 2012 9:06 AM
> To: Richard Stanton
> Cc: emacs-orgmode@gnu.org
> Subject: Re: [O] Problems running C code in org-mode under Windows
>
> Thanks for tracking down the source of this problem. Unfortunately this is
> beyond my abilities to
;
>
>
>
>
>> -Original Message-
>> From: Eric Schulte [mailto:eric.schu...@gmx.com]
>> Sent: Monday, March 26, 2012 6:45 PM
>> To: Richard Stanton
>> Cc: emacs-orgmode@gnu.org
>> Subject: Re: [O] Problems
s is denied
Not sure why this should be, but the compilation is not happening.
> -Original Message-
> From: Eric Schulte [mailto:eric.schu...@gmx.com]
> Sent: Monday, March 26, 2012 6:45 PM
> To: Richard Stanton
> Cc: emacs-orgmode@gnu.org
> Subject: Re: [O] Prob
Richard Stanton writes:
> Here's a simple org file that's supposed to run some C code and print the
> result:
>
> --
>
> * Sample C code
>
> #+name: RHS.c
> #+begin_src C :noweb yes :tangle RHS.c
> #include
> <>
> #+end_src
>
> #+name: main
> #+begin_src C
> int main(i