Toolchain: Difference between revisions
Jump to navigation
Jump to search
Environment + Android toolchain |
No edit summary |
||
| Line 1: | Line 1: | ||
== Where to get a ARM toolchain? == | == Where to get a ARM toolchain? == | ||
You can find [http://sourcery.mentor.com/public/gnu_toolchain/arm-none-linux-gnueabi/ here] more or less recent toolchains. | You can find [http://sourcery.mentor.com/public/gnu_toolchain/arm-none-linux-gnueabi/ here] more or less recent toolchains. | ||
Download the .tar.bz2 file. | |||
Uncompress it <code># tar -xvjf arm-2009q3-67-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2 </code> | |||
I suggest to create a file name <code>/home/$USER/.cross_compile</code> that contains: | I suggest to create a file name <code>/home/$USER/.cross_compile</code> that contains: | ||
<nowiki> | <nowiki> | ||
export ARCH=arm | export ARCH=arm | ||
export CROSS_COMPILE=/home/georges/tools/toolchain/arm-2009q3/bin/arm-none-linux-gnueabi</nowiki> | |||
Each time, you need to build a software with this toolchain, you just have to source it. | Each time, you need to build a software with this toolchain, you just have to source it. | ||
Revision as of 01:02, 7 May 2016
Where to get a ARM toolchain?
You can find here more or less recent toolchains.
Download the .tar.bz2 file.
Uncompress it # tar -xvjf arm-2009q3-67-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2
I suggest to create a file name /home/$USER/.cross_compile that contains:
export ARCH=arm export CROSS_COMPILE=/home/georges/tools/toolchain/arm-2009q3/bin/arm-none-linux-gnueabi
Each time, you need to build a software with this toolchain, you just have to source it.
If you are building Android, you can find it here: prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/.