AD

ubuntu10.04 in build eclipse C / C + + development environment

1. Download jre,eclipse,cdt

jre: **java**/zh_CN/download/manual.jsp Download the Linux version under jre File 

eclipse:**eclipse**

cdt: **eclipse**/cdt/

2. First install eclipse:

<1> Extract the Terminal under Linux eclipse File 

eg: sudo  tar   – zxvf  eclipse-jee-galileo-SR1-linux-gtk.tar.gz

<2>  Install jre

sudo ./jre-6u22-linux-i586.bin

<3> Install cdt

 First extract the CDT files 

unzip  cdt-master-7.0.1.zip

 CDT files in a directory plugins Copies of the content in the Eclipse 

sudo  cp   – r   cdt/plugins/  eclipse/

 CDT files in a directory features Copies of the content in the Eclipse 

sudo  cp   – r   cdt/features/  eclipse/

 This installation is complete 

 In Eclipse new below a C/C++ Program test 

 Prior to the new C/C++ program must ensure that Ubuntu GCC/GCC-C++ has been installed in the compiler  :sudo  apt-get  install build-essential This is to install the c++ compiler 

 Then :

 In the Eclipse directory, double-click the icon :


ubuntu10.04 in build eclipse C / C + + development environment
ubuntu10.04 in build eclipse C / C + + development environment
ubuntu10.04 in build eclipse C / C + + development environment
click File select new -> Project the following screen appears: ubuntu10.04 in build eclipse C / C + + development environment
here I have created a new project file, so directly in the project under a new C / C + + source files, and edit the contents of the file: Enter the following test content :

#include<stdio.h>
#include<stdlib.h>
int main(){
 printf("helloworld!!!");
}



Click Edit to complete: eclipse project on the Build Project:

ubuntu10.04 in build eclipse C / C + + development environment
标签: lt 2, lt 1, development environment, eclipse project, tar gz, sudo, tar zxvf, c development, gcc, stdlib, printf, stdio, cdt, jre, galileo, sr1, test content, gtk, c source files, manual jsp
分类: OS
时间: 2010-11-09

相关文章

  1. ubuntu10.04 in the build eclipse C / C + + development environment

    1. Download jre, eclipse, cdt jre: http://java.com/zh_CN/download/manual.jsp download the Linux version of the ...
  2. Build Eclipse C / C + + development environment

    http://blog.csdn.net/zhoudaxia/archive/2010/01/28/5267431.aspx Speak in great detail
  3. Use InstantRails quickly build Ruby On Rails development environment

    Ruby on Rails have been on a lot of interest, to see if this is something that many people praise, but the win ...
  4. PHP的集成开发环境 -- Eclipse PHP Integrated Development Environment

    Eclipse PHP Integrated Development Environment Win32版本的下载地址: http://www.eclipse.org/downloads/download.php?fil ...
  5. Detail using SVN + Trac + Eclipse Build project management and development environment

    Svn is the source code version control system, Trac is a free open source bug tracking system, Eclipse is the ...
  6. eclipse java web development environment to build

    First of all talk about the environment configuration, note that I configured the environment is under the Win ...
  7. ECLIPSE group practice development environment:

    In this paper, typical examples of the application and operation of the scene, trying to understand a simple w ...
  8. By Appfuse2 to quickly set up development framework (2) - build up a local development environment

    By Appfuse2 to quickly set up development framework (2) - Establish a local development environment 1 download ...
  9. Simple to build mobile web app development environment

    Engage in front-end mobile web app development division must be very depressed siege, no firebug, not IE chrom ...
  10. eclipse + android2.2 development environment configuration

    If not specified LifeBa reprinted articles are original. Reprinted please specify: switched LifeBa , thank you ...
  11. Excerpt: Windows under the Eclipse build using C / C + + development environment

    http://www.javaeye.com/topic/560534
  12. eclipse php debugging development environment configuration

    [1] install php debugging support sudo apt-get install php5-xdebug [2] Install eclipse + pdt Can be downloaded ...
  13. J2ME learning (1 )----- build basic knowledge and development environment

    J2ME structure: 1, the underlying mobile operating system 2, configuration Configurations (including the core ...
  14. Eclipse 3.6 development environment configuration under jQuery

    Preparation of documents: Eclipse V3.6 Helios , Spket 1.6.18 , jQuery-1.3.2.js , com.spket.ui_1.6.18 Use of Ec ...
  15. 2. To build and test Spring Development Environment

    1. Spring need to use a jar package to www.springsource.org / download to download spring, obtained after deco ...
  16. Ubuntu 10.04 Android development environment to build the next

    In the next week to build an android Ubuntu development environment, look at the record here for later referen ...
  17. Use Eclipse JEE + Mtj + Nokia S60 V3SDK J2ME application development environment to build

    Use Eclipse JEE + Mtj + Nokia S60 V3SDK J2ME application development environment to build 2010-04-07 16:53 Und ...
  18. JBoss ESB study notes 1 - ESB development environment to build

    Recent result of the need to use the JBoss ESB, available online at this information is less people boast, and ...
  19. Andriod development environment to build

    Andriod development environment to build collections turnover several times, and finally build a good Andriod ...