在Eclipse的C / C查找选项++ [英] Discovery Options in Eclipse C/C++

查看:334
本文介绍了在Eclipse的C / C查找选项++的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不是职业是程序员,只是最近决定钻研使用Eclipse C / C ++编程的ARM微控制器和我的问题是建立IDE。基本上,我从这里以下方向:(的https://openwsn.atlassian .NET /维基/显示/ OW / GNU + ARM ),但尝试运行后

I'm not a programmer by trade and just recently decided to delve into using Eclipse C/C++ to program an ARM microcontroller and my problem is setting up the IDE. Basically, I'm following the direction from here: (https://openwsn.atlassian.net/wiki/display/OW/GNU+ARM) but after trying to run

int main(void){

int i = 0;
while (i < 10) {
   i++;
}
return i;

}

我得到这个错误:

I get this error:

http://i.stack.imgur.com/hq9m1.png

这意味着,在某处发现选项我引用'臂ELF-GCC。问题是我不知道如何去发现选项,在Eclipse的C / C ++开普勒SR1的最新版本。谁能告诉我在哪里我可以改变它,所以我改为调用'臂无 - EABI - 海合会?当我去项目属性其不再在C / C ++编译

Which means that somewhere in the "Discovery Options" I've invoked 'arm-elf-gcc'. The problem is I don't know how to get to "Discovery Options" in the newest version of Eclipse C/C++ Kepler SR1. Can someone tell me where I can change it so I instead invoke 'arm-none-eabi-gcc'? When I go to Project Properties its no longer under C/C++ Build

推荐答案

开普勒默认隐藏发现选项。转到窗口 - > preferences-> C / C ++>属性页设置,检查显示发现选项页面。然后,打开项目preferences并改变胳膊小精灵 - 海湾合作委员会,以臂无 - EABI - 海合会休息一下就好了。

Kepler hides "Discovery Options" by default. Go to Window->Preferences-> C/C++ > Property Pages Settings and check display discovery option page. Then, open your project preferences and change arm-elf-gcc to arm-none-eabi-gcc like the rest.

这篇关于在Eclipse的C / C查找选项++的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆