How can I configure Emacs, such that I am able to compile files remotely on a Windows machine, while Emacs is running under Linux? I am using tramp via the smb method to edit files on the Windows machine, but I could not get remote compilation to work until now.
1
Disclaimer: I don't use MS Windows
Tramp's smb method is able to start processes on a remote MS Windows machine via winexe. Install it locally on your Linux machine, and adapt tramp-smb-winexe-program
if necessary. See also the Tramp manual (info "(tramp) Remote processes")
.
-
I tried using winexe some time ago, but could never get to run properly. As it seems not to be maintained and it also doesn't show up in the standard distribution repositories (in my case Debian), I had the impression, that this approach is not recommendable. – Martin Mar 25 '15 at 10:18
-
Well, I believe there were attempts to include winexe into Samba 4, but this didn't happen. I would be really happy to use something which is supported by Samba, but I don't know of any alternative. I would integrate it into Tramp, if existing. – Michael Albinus Mar 25 '15 at 12:45
sshd
in the VirtualBox VM. For some reason I couldn't convince Cygwin's sshd to accept my RSA keys, but password authentication worked fine and the whole setup worked reliably more or less. – wvxvw Mar 25 '15 at 8:47