I need to port a few Intel based Linux applications to the ARM platform. Can anybody tell me
what are the best cross compiling tools for this project?
Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
On the Ubuntu Linux host you may use just a default ARM toolchain:
To build your linux applications you just have to use the same tools,
but prefixed with:
arm-linux-gnueabi-For example, to build a simple helloworld.c:
You can also set some ARM-related flags to optimize your build or to specify your target platform. Here some examples of important ARM GCC flags, depending on the target ARM CPU:
Note, that your target ARM CPU may require another options, for example if it doesn’t support NEON instructions. GCC compilers from CodeSourcery may also need another options set – just read the docs from CodeSourcery for a particular GCC version.