Code::Blocks Forums
User forums => Help => Topic started by: ystoffman on November 18, 2017, 07:43:46 pm
-
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.
-
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?
-
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.
-
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...