Toolchain: Difference between revisions
Jump to navigation
Jump to search
Initial change |
Environment + Android toolchain |
||
| Line 1: | Line 1: | ||
== | == Where to get a ARM toolchain? == | ||
http://sourcery.mentor.com/public/gnu_toolchain/arm-none-linux-gnueabi/ | You can find [http://sourcery.mentor.com/public/gnu_toolchain/arm-none-linux-gnueabi/ here] more or less recent toolchains. | ||
I suggest to create a file name <code>/home/$USER/.cross_compile</code> that contains: | |||
<nowiki> | |||
export ARCH=arm | |||
export export CROSS_COMPILE=/path/to/your/toolchain</nowiki> | |||
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: <code>prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/</code>. | |||
Revision as of 20:23, 6 May 2016
Where to get a ARM toolchain?
You can find here more or less recent toolchains.
I suggest to create a file name /home/$USER/.cross_compile that contains:
export ARCH=arm export export CROSS_COMPILE=/path/to/your/toolchain
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/.