如何将自定义工具链添加到 Eclipse CDT
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/3489607/
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 to add custom tool chain to eclipse CDT
提问by NmKrish
I have got a custom tool chain based on gnu arm. I have downloaded eclipse IDE with CDT. I would like to know how to add my tool chain with the eclipse. It has got a generic tool chain namely Linux GCC. Apart from that there is nothing. I would like to add mine. I am not finding any set up window that helps me in that. Thank you.
我有一个基于 gnu arm 的自定义工具链。我已经下载了带有 CDT 的 Eclipse IDE。我想知道如何使用 Eclipse 添加我的工具链。它有一个通用的工具链,即 Linux GCC。除此之外什么都没有。我想添加我的。我没有找到任何可以帮助我的设置窗口。谢谢你。
Krish.
克里斯。
回答by Alan Spark
I'm sure this is far too late for you now but I thought I'd point anyone else in the direction of the Managed Build System Extensibility Document.
我敢肯定这对您来说已经太晚了,但我想我会向其他人指出Managed Build System Extensibility Document的方向。
There is a tutorial in that page that guides you through the steps involved in creating a basic toolchain. It certainly gave me a basic understanding of how toolchains are structured in Eclipse.
该页面中有一个教程,可指导您完成创建基本工具链所涉及的步骤。它确实让我对 Eclipse 中工具链的结构有了基本的了解。
For more advanced queries you may want to try the CDT Forum.
对于更高级的查询,您可能想尝试CDT 论坛。
I hope this is of some help to someone.
我希望这对某人有帮助。
Alan
艾伦
回答by minghua
You may add your toolchain from the help of following Link http://help.eclipse.org/kepler/index.jsp?topic=%2Forg.eclipse.cdt.doc.user%2Freference%2Fcdt_u_prop_build_toolchain.htm. The idea is to follow the code for the existing supported toolchains, add yours to the source code. Then follow the project document to build itand install the plug-in. This way you don't have to start from scratch.
您可以通过以下链接http://help.eclipse.org/kepler/index.jsp?topic=%2Forg.eclipse.cdt.doc.user%2Freference%2Fcdt_u_prop_build_toolchain.htm的帮助添加您的工具链。我们的想法是遵循现有受支持工具链的代码,将您的添加到源代码中。然后按照项目文档进行构建并安装插件。这样您就不必从头开始。