Montag, 29. September 2008

C++ 安装笔记

Windows下

1. 从www.eclipse.org上下载cdt
2. 在WINDOWS下推荐的是MinGW,http://www.mingw.org
3. Eclispe 项目属性上设置一下, C/C++ Build -> Tool Chain Editor -> Manage count -> new -> MinGW GCC -> current toolchain 选择 MinGW GCC
4. Path 中设置 MinGW 位置

Mac下
1. Download Xcode from here : http://developer.apple.com/tools/download/ (924 MB). Xcode is Apples developer tools. It consists of all the frameworks like Cocoa, Carbon, Java and whole other stuff including gcc compilers. GCC is not included in Mac by default. So you need to download xcode and install it first to get the c/c++ compiler working. These compilers are needed for Eclipse to work with c and c++. Install it.#

由于最新的XCODE只支持10.5所以只能装旧版的2.1的TOOLS
code tools 2.1
http://connect.apple.com/cgi-bin/WebObjects/MemberSite.woa/200/wa/getSoftware?wosid=WM38yzKki6iQ2qAe9B7OqzJNPYx&fileID=19729&code=VSPA_2005%2D01&source=VSPA_PROD%2DDEV
2. 下载C++ CDT

Keine Kommentare:

Kommentar veröffentlichen