Sunday, February 9, 2014

Improve the Performance of Your ROMs and Kernels with Custom Linaro GCC Cross-Compiler Toolchains

toolchain-01

Android developers must use toolchains to compile their code. Most of you must have heard of GCC or Linaro, which are used to compile a kernel or the whole OS. Using custom toolchains in some situations may increase a performance, or at least make applications smoother. It’s not a rule, so don’t forget about good old GCC, which is more than capable in most situations.

The Linaro toolchain is very popular, and you can see it used in various ROMs and kernels. Linaro is pretty optimized, but some additional optimizations for specific architectures can be added. XDA Recognized Developer Christopher83 compiled his own Linaro toolchain, optimized to make the most from architectures like Cortex-A9 and A8 with Neon-VFPv3, Cortex-A15 with Neon-VFPv4, and Cortex-A.

The toolchains are available in two versions: 4.7.4 and 4.8.3, and the developer was kind enough to provide instructions about how to build a custom cross-compiler toolchain on your own, as well as how to use it with a home-brewed kernels. Obviously you can use sample configs, but nothing is there to stop you from making your own edits and improving them further.

We wish you to have super-fast, totally bug-free ROMs and kernels. But before that happens, don’t hesitate to visit the original thread where all custom toolchains by Christopher83 are waiting for your compiling pleasure.



from xda-developers http://ift.tt/1bL3CwA
via IFTTT

0 comments :