User forums > Help

Remote compiling and debugging

(1/1)

ystoffman:
Hi,

I would like to use Code::Blocks from Windows to compile and debug an application on a remote Linux server (Ubuntu/AWS linux) all I could find is an old link (~10 years old) regarding UniWin. I that the acceptable method?  or is there a new and better way now days?

Thanks,
Yoni.

BlueHazzard:
Debugging should be no problem with gdb. Simply set the remote debugging settings in Project->Properties

Compiling is a other thing. You do NOT want to cross compile, but to remote compile?

ystoffman:
Yes, I would like to remote compile. That the actual compilation will take place on the server. Cross compilation is not a viable option at this point. 


BlueHazzard:
For remote building i am afraid that there is no easy way to go. There are a lot problems to solve:
* code sync between remote and local machine
* Building on remote machine
* This all over some secure connection, probably ssh

one way would be:
http://wiki.codeblocks.org/index.php?title=Using_Xming_for_remote_compilation
but this seems to be incomplete...

Navigation

[0] Message Index

Go to full version