CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2015
    Posts
    21

    Work on a remote C++ project with Eclipse via SSH and SVN+SSH (2 remote Linux)

    I have the following boxes:

    a) A Windows box with Eclipse CDT(or PTP)

    b) A Linux box,including Compiler, accessible for me only via SSH.

    c) A Linux box, including SVN Source, accessible for me only via SSH

    Both the compiler and the hardware required to build and run my project is only on machine B.

    I'd like to work "transparently" from a Windows box on that project using Eclipse CDT -or PTP - and be able to build, run and debug the project remotely from within the IDE.

    How do I set up that:

    The building will work? Any simpler solutions than writing a local makefile which would rsync the project and then call a remote makefile to initiate the actual build? Does Eclipse managed build have a feature for that? The debugging will work? Preferably - the Eclipse CDT -or PTP-code indexing will work? Do I have to copy all required header files from machine B to machine A and add them to include path manually?
    Last edited by alwaystudent; August 11th, 2015 at 06:15 AM.

  2. #2
    Join Date
    May 2007
    Location
    Scotland
    Posts
    1,164

    Re: Work on a remote C++ project with Eclipse via SSH and SVN+SSH (2 remote Linux)

    I've done something similar to this before, I ended up using Eclipse to remote debug an application on a Linux target. From memory though, I didn't get it running under Windows properly, I think I installed a Linux VM on my Windows machine using VirtualBox, and set the VM up with the same tool chain as the Linux box that I was debugging and remote debugged it from Eclipse within the VM. It was a few years ago that I did it and I couldn't tell you what I did - I simply can't remember. But it is possible to do.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured