embedded - Linux cross-compilation for ARM architecture -


I am interested in cross-compiling a Linux kernel for an ARM target on an x86 host. Do you have some good methods Suggest? Which is the best cross-compilation suit in your opinion? Have you installed a custom cross-compile environment? If so, what is your advice? Is this a good idea?

I have used two methods for the ARM / Linux device. The easiest one is a pre-built device The series is to be downloaded directly.
Pro : It just works and you can meet with an interesting part of your project
Con : Whatever GCC / binutils / libc They are stuck with the version

If you look at later cases, then see this project is a configuration tool similar to the Linux kernel configuration application. Set up GCC, Binuttils, Librac (GNU or UCLBC), Threading, and the creation of the Linux kernel and the rest of the Kristol-NG (i.e. downloads tar balls, configures the device, and makes them). Pro : Whatever configuration you choose during the configuration you get Con : You get exactly the same during the configuration which means

In addition to the compiler / binutil / libc and their related facilities / deficiencies / bugs, as mentioned in the comments, there are some "pain" in which binutils, including the selection of C library versions, Because all the combination required Yk are not too closely or build together.

A hybrid approach can be started with pre-built devices and if necessary, replace them with a custom solution via Crosstal-NG later.

Update : The answer was originally codeSourcery tools for the pre-built device series ARM, but now they are called Sourceri Codebrain and should be purchased from Mentor Graphics. . Other options include the distribution of specialized equipment, now Android, Ubuntu and others.


Comments