问题描述
我不是一个交易程序员,刚刚决定开发使用Eclipse C / C ++编程ARM微控制器,而我的问题是设置IDE。基本上,我正在从这里开始:(),但尝试运行 int main(void ){
int i = 0;
while(i< 10){
i ++;
}
return i;
}
我收到这个错误:
这意味着我在发现选项中的某个地方调用了'arm-elf-gcc'。问题是我不知道如何到最新版本的Eclipse C / C ++开普勒SR1中的发现选项。有人可以告诉我哪里可以改变它,所以我调用arm-none-eabi-gcc?当我去Project Properties时,它不再是C / C ++ Build
开普勒默认隐藏发现选项。转到窗口 - >首选项 - > C / C ++>属性页设置并检查显示发现选项页面。然后,打开你的项目首选项,并将arm-elf-gcc更改为arm-none-eabi-gcc,如其他。
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
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
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 ++中的发现选项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!