[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.dsdp.tm] Re: "C/C++ Remote Application" not available in run configurations

Hi Alex,

what versions of RSE / CDT are you using? Note that since recently
(RSE 3.1m7 I believe), the remoteCDT functionality is no longer part
of RsE but must be installed from the CDT Repository.

Cheers,
--
Martin Oberhuber, Senior Member of Technical Staff, Wind River
Target Management Project Lead, DSDP PMC Member
http://www.eclipse.org/dsdp/tm




Alex Styler wrote:
I've been developing a plugin that integrates a cross-compile
toolchain and uses RSE for an easy, almost-no-configuration remote
debugging environment for an ARM remote target.  One major issue I've
run into is although a user has the RSE End-User Runtime installed,
creates a remote connection, and connects (tests by launching a
shell), when they create a project and select Run Configurations (or
Debug Configurations), C/C++ Remote Application is not there (only
C/C++ Local Application, Eclipse Application, etc).  It's not that it
is never there, it will sometimes be an option but I can't determine
what makes that bit flip, so to speak.

Any help would be appreciated. Below are the instructions given to the user, he failed at #21 as there was no "C/C++ Remote Application" option in Run or Debug Configurations.

-Alex Styler


*** Instructions:
1. Install the latest Eclipse for C/C++ Developers
2. Launch Eclipse, goto Help -> Software Updates
3. Check the Remote System Explorer End-User Runtime box in the Ganymede Update Site -> Remote Access and Device Development
directory and Install.
4. Download the SDK from Dave, and mv it to the root directory (/)
5. Extract it here (sudo tar -xvf ****os.....)
6. Copy ***_1.0.0.jar into the dropins directory located in the eclipse install
directory (eclipse/dropins/)
(All of the above could be achieved from a CD installer)


(One Time Connection Setup)
7. Launch Eclipse
8. Goto Window -> Open Perspective -> Other and select Remote System Explorer
9. Right click Remote Systems and select New Connection
10. Choose "SSH Only" and input the IP Address of the *** into the Hostname Box
(e.g. 192.168.1.2).
11. Change the Connection Name to *** or something similar.
12. Test the connection to the *** (right click the connection in the Remote Systems window and hit Connect).
13. Input the user credentials (root /// *****) and have it save both the user
and password.
14. Switch back the the C/C++ development perspective (either top right icon or
Window -> Open Perspective ...)
15. If the IP of your *** changes, you will have to come back to the remote systems explorer and edit the hostname for your *** connection


(Per Project setup)
15. Goto File -> New Project -> C Project
16. Name the project PROJECTNAME
16. In project type, select Hello World ANSI C Project
17. In Toolchain, select Custom *** Linux GCC
18. Hit Finish.
19. Hit Project -> Build All to build the binaries for the project (only if automatic building is turned off)
20. Goto Run -> Run Configurations
21. Double Click C/C++ Remote Application
22. In the Remote Absolute Path box of your new configuration, type /PROJECTNAME
..