Eclipse-for-cpp.doc

  1. 1、本文档共12页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
Setting up a compiler Prev Next Setting up a compiler Unfortunately Eclipse only provides the Integrated Development Environment (IDE) but it is missing the actual compiler. To install a compiler, please follow the instructions for your operating system. Windows compiler Windows doesnt come with a build-in compiler. You could try to install Visual Studio, but it is tricky to get that working with Eclipse. Therefore we will install MSYS. MSYS is part of the MinGW suite, which provides free development tools for Windows. You will have to follow these 4 steps: Download and install MinGW Download and install MSYS Set your path environment variable Restart Eclipse if it was started. MinGW First, you need to download MinGW. You can either click through the websites mentioned above or go directly to the MinGW download area. Look for the Package Automated MinGW Installer. There, download the file ending in .exe. The file name should be something like MinGW-5.1.4.exe. You can also download MinGW Version 5.1.4 from the link given here. You may also download an older version, and follow the instructions given in the section called “Older Instructions”: You may download MinGW 4 and follow the instructions in the section called “MinGW 4.x”. You may download MinGW 3 and follow the instructions in the section called “MinGW 3.1”. Most of the options in the MinGW 5 installer are pretty straightforward. I will point out some of the more tricky options. The first one of such options is which MinGW package to install. Any of those should work just fine, but I would recommend Current. Figure 1. MinGW 5 install MinGW will ask which components to install. Either select All or at least make sure that you have the g++ compiler checked. This is needed for C++ support. Figure 2. MinGW 5 install (2) When asked for the install folder, please do not change it. You will have a lot of trouble later on, especially if you chose a path that contains spaces. Figure 3. MinGW 5 install (3)

文档评论(0)

jiulama + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档