This content is not available in your preferred language.
The content is shown in another available language. Your browser may include features that can help translate the text.
NI does not actively maintain this document.
This content provides support for older products and technology, so you may notice outdated links or obsolete information about operating systems or other relevant products.
This article explains how to use Eclipse C/C++ development tools for NI Linux Real-Time to achieve cross-compiling tasks. Eclipse C/C++ Development Tools for NI Linux Real-Time is not actively maintained anymore. They were last updated for 2017-2018 toolchains. They are currently not advised to be used for new projects.For any new project, instead of using Eclipse, please consider using a toolchain based on Visual Studio Code.
For detailed instructions on how to set up a toolchain based on Visual Studio Code, see the NI Linux Real-Time Documentation and Tutorials. It also provides information on typical steps, like building, deploying, and debugging a shared library.
The Getting Started content is provided below, and it also installs with the product in the \<National Instruments>\Eclipse\help directory. To view larger images, extract the files from the compressed folder attached to this page, or view the Getting Started content installed with the product.
This tutorial outlines how to create C/C++ projects using C/C++ Development Tools for NI Linux Real-Time, Eclipse Edition, build an executable from your project source code, and run and debug the executable on your NI Linux Real-Time target.
Complete the following steps to configure C/C++ Development Tools for NI Linux Real-Time, Eclipse Edition, for first use:
Before you can run the executable you created in the previous section on your NI Linux Real-Time target, you need to add your target to the project. Complete the following steps to configure your target as a remote system in C/C++ Development Tools for NI Linux Real-Time, Eclipse Edition:
With a successful logon, you establish an SSH connection to your target and enable transferring files to it. In the next section of this tutorial, you copy and run a C/C++ executable on your target.
At this point in the tutorial, your project contains a target and an executable. Complete the following steps to run your C/C++ executable on your target:
In the next section of this tutorial, you explore the debugging functionality available in C/C++ Development Tools for NI Linux Real-Time, Eclipse Edition.
Collaborate with other users in our discussion forums
A valid service agreement may be required, and support options vary by country.