user626201
user626201

Reputation: 1682

C++ IDE that can build over SSH

We are moving our development for C to C++, but all build servers run Linux and development happens on Windows machines. Our C editor does not do C++ very well so we are looking at alternatives.

The code itself lives on the build server connected by \\opt\code... type link in Windows.

We need SSH as that is the normal connection to the build servers. We would like an integrated solution for errors/warnings being able to opened in the editor. We do not care about running the code.

Are there any free editors that can execute builds over SSH?

Thanks.

Upvotes: 13

Views: 12154

Answers (6)

vines
vines

Reputation: 5225

You might use X forwarding and run any linux IDE on the Linux side, while operating it via Windows machines. See http://www.math.umn.edu/systems_guide/putty_xwin32.html for an example.

Or even setup a VNC remote desktop connection.

Upvotes: 1

mrsheen
mrsheen

Reputation: 892

This link suggest this should be possible using plink and any editor that can run plink as a compile and capture the resulting stdio and stderr output.

Upvotes: 6

BigMike
BigMike

Reputation: 6873

You can use Visual Slick Edit it has a scripting language which can be used to spawn commands. Btw, if your build is linux based I suggest you to edit on linux (there're various programmers editors there available for free).

In windows almost every editor worth being calling editor has the power to manage builds (often via make), so even VIM or Emacs can be productivity choices (yeah I'm not a big fans of IDEs, my actual editor is VIM with a good tons of vimscripts and yeah, I've got code navigation, error browsing and the speed of light while typing - and the same is possible with emacs).

Ultraedit is another editor able to Edit file over ftp (and maybe over SSH), but I doubt it can spawn a remote make and fetch results.

If you're not reliyng on builds, but just compiling, maybe is worth checking the Cygwin porject and see if you can arrange a compilation under Windows, then for the build manually resort to the Linux box, this would probably remove the compilation problem (every programmer will compile on his box, and only builds (compile+link) would be left on the linux box.

Upvotes: 1

tune2fs
tune2fs

Reputation: 7705

NetBeans allows to build over ssh. We are using this from Linux development computers to linux build machines. I am not sure if this is possible from Windows to Linux. Here is a tutorial: Tutorial

Upvotes: 6

thehouse
thehouse

Reputation: 8074

You could try using Dokan SSHFS to mount the code as a drive on each Windows machine. Then developers are free to use whatever IDE they choose.

Upvotes: 0

Zuljin
Zuljin

Reputation: 2640

I never tried this, but it looks like that using Code::Blocks and Xming you can do this. Here is tutorial http://wiki.codeblocks.org/index.php?title=Using_Xming_for_remote_compilation

Upvotes: 0

Related Questions