Eclipse is not easy to setup to use a new toolchain. The information from the Managed Build System Extensibility Document will sure point anyone to the right direction. However, most people prefer a pre-built solution.
Fortunately someone has come up with a generic Eclipse plug-in. With it, all you need to do is roughly the following:
- Install a toolchain. For example, on window, install the yagato tools and yagato gnu armtoolchain.
- Add the tools exe path and toolchain exe path into the PATH.
- Install Eclipse CDT and GNU ARM Eclipse Plug-in.
- Follow the instruction on the GNU ARM Eclipse Plug-in project wiki, configure your project.
That’s all if you have a popular toolchain that the plug-in supports. If you have a non-standard toochain, you can just try the following since you can build the GNU ARM Eclipse Plug-in from source:
- Follow the code for the existing supported toolchains, add your new toolchain to the source code. Then follow the project document to build it and install the plug-in. This way you don’t have to start from scratch to build your own Eclipse plug-in.