如何让 Eclipse 在非标准位置查找和使用基于 gcc 的工具链
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/853307/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How do I get Eclipse to find and use a gcc based toolchain in a non-standard location
提问by JeffV
I am trying to get Eclipse to work with a GCC based ARM cross compiler.
我试图让 Eclipse 与基于 GCC 的 ARM 交叉编译器一起工作。
How can I configure eclipse to add the new tool chain to its list of tool chains?
如何配置 eclipse 以将新工具链添加到其工具链列表中?
The tool chain is a Raisonance distributed GCC tool chain: C:\Program Files\Raisonance\Ride\arm-gcc\bin\arm-none-eabi-gcc.exe
工具链为Raisonance分布式GCC工具链:C:\Program Files\Raisonance\Ride\arm-gcc\bin\arm-none-eabi-gcc.exe
回答by FeatureCreep
Here is a link to a pdf describing how to set up a cross compiler tool chain for ARM and eclipse.
这是描述如何为 ARM 和 eclipse 设置交叉编译器工具链的 pdf 链接。
http://www.sparkfun.com/tutorial/ARM/ARM_Cross_Development_with_Eclipse.pdf
http://www.sparkfun.com/tutorial/ARM/ARM_Cross_Development_with_Eclipse.pdf
Hope it helps.
希望能帮助到你。
回答by minghua
Make sure the command is you the PATH. Install GNU ARM Eclipse Plug-in, then you can choose the toolchain from a list.
确保命令是您的 PATH。安装GNU ARM Eclipse Plug-in,然后您可以从列表中选择工具链。
回答by Ronan
Just to be clear, Raisonance's Ride uses the CodeSourcery toolchain. There are many tutorials out there on how to use it with Eclipse (at least for Helios). Last time I checked (last year), my Ride7 used the 2008 CodeSourcery compiler, though right now the latest version is 2011.03.
需要说明的是,Raisonance 的 Ride 使用了 CodeSourcery 工具链。有很多关于如何在 Eclipse 中使用它的教程(至少对于 Helios)。上次检查时(去年),我的 Ride7 使用的是 2008 CodeSourcery 编译器,但现在最新版本是 2011.03。