玩转Eclipse tools第二部分CDT

类别:Java 点击:0 评论:0 推荐:
一,概述

CDT就是C/C++ Development Tools,属于Eclipse tools Project,目的是为Eclipse 平台提供一个完整的C and C++ Integrated Development Environment (IDE).

 

Linux/Unix平台下的C/C++ 程序员有福了!当然,Windows程序员也没有被排除在外,下载一个cygwin,就可以了.The compiler supported is gcc, the debugger interface will work with gdb 5.2.1 (or higher) and the default build command is GNU "make".

 

下列文档需要学习:

l        CDT Tutorials

l        CDT User Guide

l        CDT Project Release Notes

l        如果有什么问题不明白,等安装完成后直接看帮助就可以了.

 

Current release function includes:

l        C/C++ Editor (basic functionality, syntax highlighting, code completion etc.)

l        C/C++ Debugger (APIs & Default implementation, using GDB)

l        C/C++ Launcher (APIs & Default implementation, launches and external application)

l        Parser

l        Search Engine

l        Content Assist Provider

l        Makefile generator

 

下载WINDOWS版本:
SDK:http://download.eclipse.org/tools/cdt/releases/new/zips/org.eclipse.cdt.sdk-2.0.2-win32.x86.zip
Language Packs:http://download.eclipse.org/tools/cdt/releases/new/zips/NLpack-org.eclipse.cdt-2.0.x-win32.x86.zip

二、Target Operating Environments

下面解释CDT的平台依赖性的原因。

 

The CDT Framework is platform independent. It will run where Eclipse will run. However, the default implementations may depend on external applications. To follow in the Eclipse spirit of open source, the default implementations rely upon freely available open source tools, such as the GNU Tools: GDB and Make. Therefore, the dependencies on GDB for debugging, or Make for building, will require that these applications are available for the platform that the user wishes to use.

 

The core plug-ins are written in Java with a small amount of native code and thus may be ported to any platform supported by Eclipse. However, some default implementations may require that other software or tools, licensed under GNU, may be required.

 

In general there is some version of Linux and some version of windows used by the developers on the CDT. 

 

NOTE:  The CDT does NOT run on Windows 98 and Windows ME.

 

Eclipse Reference Platforms

Operating system

Processor architecture

Window system

Java 2 Platform

Microsoft Windows XP

Intel x86

Win32

Sun Java 2 SDK, Standard Edition, version 1.4.2_03 for Microsoft Windows

Microsoft Windows XP

Intel x86

Win32

IBM 32-bit SDK for Windows, Java 2 Technology Edition, Version 1.4.1

Red Hat Enterprise Linux WS 3

Intel x86

GTK

Sun Java 2 SDK, Standard Edition, 1.4.2_03 for Linux x86

Red Hat Enterprise Linux WS 3

Intel x86

GTK

IBM 32-bit SDK for Linux on Intel architecture, Java 2 Technology Edition, Version 1.4.1

SuSE Linux 8.2

Intel x86

GTK

Sun Java 2 SDK, Standard Edition, 1.4.2_03 for Linux x86

SuSE Linux 8.2

Intel x86

GTK

IBM 32-bit SDK for Linux on Intel architecture, Java 2 Technology Edition, Version 1.4.1

Sun Solaris 8

SPARC

Motif

Sun Java 2 SDK, Standard Edition, 1.4.2_03 for Solaris SPARC

HP HP-UX 11i

hp9000
PA-RISC

Motif

HP-UX SDK for the Java 2 platform, version 1.4.2.00 for hp9000 PA-RISC

IBM AIX 5L Version 5.2

PowerPC

Motif

IBM 32-bit SDK for AIX, Java 2 Technology Edition, Version 1.4.1

* Apple Mac OS X 10.3

PowerPC

Carbon

Java 2 Standard Edition 1.4.1 for Mac OS X

QNX Neutrino RTOS [version TBD]

Intel x86

Photon

IBM J9 VM for QNX [version TBD]

 

三、What tools do I need to run CDT?

 

In order to build your C++ code and debug your C++ executable, you will need to get a compiler, a make program and a debugger.

 

There are several tools that can help you run GNU Tools on Windows.

Cygwin

MinGW.

 

Note: MinGW also works on top of a CygWin installation.

 

Both of these tools offer a selection of GNU tools such as gcc, gdb and make.

 

For example, on Windows you can install the Cygwin toolkit which is a Unix environment for Windows and includes automake and gdb.

 

 

本文地址:http://com.8s8s.com/it/it15049.htm