Setting Eclipse CDT for C C++ Development on Linux

Опубликовано: 22 Октябрь 2024
на канале: TechLair
29,112
89

This Short Tutorial explains hot to set up c/c++ working environment using eclipse CDT on Linux machine.

JRE/JDK Download : http://www.oracle.com/technetwork/jav...


GCC RPM Download - http://rpm.pbone.net/index.php3/stat/...

Installing RPM

rpm -ivh xyz-10292.rpm

Download Eclipse : http://www.eclipse.org/downloads/

Step 1 - Extract tar File

tar -xzvf eclipse-cpp-kepler-SR2-linux-gtk-x86_64.tar.gz

Step 2 - Change Permissions of eclipse

chmod -R +r /opt/eclipse

/opt - directory where eclipse is extracted

please change accordingly

Step 3 - Create Eclipse executable on /usr/bin path

touch /usr/bin/eclipse
chmod 755 /usr/bin/eclipse

Add the lines

export ECLIPSE_HOME="/opt/eclipse"
$ECLIPSE_HOME/eclipse $*
Note : replace /opt/eclipse with your eclipse path

Step 4 - Create Desktop Launcher

vi /usr/share/applications/eclipse.desktop

add the lines

[Desktop Entry]
Encoding=UTF-8
Name=Eclipse
Comment=Eclipse SDK 4.2.1
Exec=eclipse
Icon=/opt/eclipse/icon.xpm
Terminal=false
Type=Application
Categories=GNOME;Application;Development;
StartupNotify=true


Eclipse (software),c++,C Programming,C (programming Language),eclipse, gcc, g++, cpp


Technology Lair : www.technologylair.org
Subscribe : http://www.youtube.com/subscription_c...
For More Videos :    / technologylair  
For Video Tutorials :   • Playlist  
For Android :    • Android  
For Linux :    • Linux how to's  
Kalam e Iqbal :    • Kalam-e-Iqbal  
Like us on Facebook :   / technologylair  
Tweet us :   / technologylair  
Follow us : https://plus.google.com/u/0/118196883...
Pin us :   / technologylair