Eclipse C/C++ 中的发现选项 [英] Discovery Options in Eclipse C/C++

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

问题描述

我不是专业的程序员,最近才决定深入研究使用 Eclipse C/C++ 对 ARM 微控制器进行编程,而我的问题是设置 IDE.基本上,我遵循这里的方向:(https://openwsn.atlassian.net/wiki/display/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;

}

我收到此错误:

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

这意味着我在发现选项"中的某处调用了arm-elf-gcc".问题是我不知道如何在最新版本的 Eclipse C/C++ Kepler SR1 中进入发现选项".有人可以告诉我在哪里可以更改它以便我调用'arm-none-eabi-gcc'吗?当我转到项目属性时,它不再位于 C/C++ Build 下

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 默认隐藏发现选项".转到 Window->Preferences->C/C++>Property Pages Settings 并检查显示发现选项页面.然后,打开您的项目首选项并将 arm-elf-gcc 更改为 arm-none-eabi-gcc.

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天全站免登陆