Eclipse is a software development platform including front ends for typically Java development software tools, however a C/C++ front end can also be optionally installed and is called CDT. The installation of CDT is further discussed below.
- 1 Installation
- 2 Usage
- 3 Configuration
- 4 Troubleshooting
- 5 See also
Install the java overlay, using Layman.
layman -a eclipse
If you use Eix, regenerate the index to include the newly added overlay:
Install the Eclipse SDK:
emerge --ask dev-util/eclipse-sdk-bin
The package is slotted for major Eclipse releases, so you can have multiple versions installed at the same time.
To run it simply type the following replacing with the version number installed:
In your favourite desktop environment the different versions should show up automatically in the list of installed applications.
CDT adds C/C++ tools to Eclipse SDK.
Need to first find the latest code name for the latest release of CDT. Go to the following page and take note of the latest code named release. (ie. kepler, indigo, juno, ...)
Install Update Repository
Go to "Help > Install New Software" and add the following repository after clicking add, and after finding and replacing "kepler" with the latest code named repository.
- Kepler Updates
This general repository is needed prior trying to add the CDT repository, as the CDT repository depends on other packages outside of the CDT repository and which were not installed by default.
Install CDT Repository
Go to "Help > Install New Software" and click 'add', adding the following after also replacing the code name with the latest code named repository.
- CDT 8.2.1 for Eclipse Kepler
Once this repository is entered, go ahead and select it and select all or some of the packages and click next. Eclipse may need to restart afterwards.
"bundle org.eclipse.rse.ui ... could not be found" or "missing remote debug launcher"
You need to install the general Update Software repository mentioned above prior to installing CDT in order to satisfy these dependencies. Eclipse SDK should then automatically pull them in.
Random crashes happening in native code (C [libgobject-2.0.so.0+0x1b0b8] g_object_get_qdata+0x18)
See also Bug 430432
Workaround: Set the gtk+-2 theme to default. You can limit this to eclipse-sdk:
PyCharm Community Edition - A free and open source IDE for Python.