ubuntu 9.10 eclipse for c/c++ development

自带的eclipse 没有cdt.于是下了Eclipse IDE for C/C++ Developers (79 MB)http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/galileo/SR1/eclipse-cpp-galileo-SR1-linux-gtk.tar.gz.

解压到/home/name/bin/eclipse

下载jre.安装,把jre-version放到eclipse目录下并改名为jre.

这时执行

#export GDK_NATIVE_WINDOWS=1 /*这个很关键,要不然eclipse按钮不好使*/
#/home/name/eclipse/eclipse

方便一点也可以再加个快键方式

#vi /usr/share/applications/eclipse.desktop
[Desktop Entry]
Encoding=UTF-8
Name=Eclise 3.5.1
Exec=/bin/bash -c "export GDK_NATIVE_WINDOWS=1 ;'/home/name/bin/eclipse/eclipse'"
Icon=/home/name/bin/eclipse/icon.xpm
Categories=Development;Java;IDE
Version=1.0
StartupNotify=true
Type=Application
Terminal=0

帮助开发,再装上manpage

#apt-get install manpages-posix manpages-posix-dev

再加点色彩

#apt-get install most
#vi /etc/manpath.config
DEFINE pager most

OK。


posted @ 2009-12-21 20:39  冷月X  阅读(367)  评论(0编辑  收藏  举报