Re: [O] Problems running C code in org-mode under Windows - SOLVED

2012-03-29 Thread Nick Dokos
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

Re: [O] Problems running C code in org-mode under Windows - SOLVED

2012-03-29 Thread Richard Stanton
> 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-" >

Re: [O] Problems running C code in org-mode under Windows - SOLVED

2012-03-29 Thread Richard Stanton
> 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