toolchain
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| toolchain [2011/08/11 01:37] – created ggrandou | toolchain [2011/10/31 13:39] (current) – [Ubuntu] stuw | ||
|---|---|---|---|
| Line 25: | Line 25: | ||
| ==== Ubuntu ==== | ==== Ubuntu ==== | ||
| - | TODO AFAIK cross compile packages are available directly from ubuntu, I just don't remember package names | + | < |
| + | $ sudo apt-get install gcc-arm-linux-gnueabi | ||
| + | </ | ||
| ====== Generic toolchains ====== | ====== Generic toolchains ====== | ||
| - | TODO | + | ==== Code Sourcery ==== |
| - | document | + | Based on installation script used in [[http:// |
| + | <code> | ||
| + | $ echo " | ||
| + | $ wget http:// | ||
| + | $ tar xvjf arm-2009q1-203-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2 | ||
| + | </ | ||
| + | Configure environment | ||
| + | < | ||
| + | $ export PATH=`pwd`/ | ||
| + | </ | ||
| + | Now you are able to use ARCH=arm CROSS_COMPILER=arm-none-linux-gnueabi- to crosscompile sources for arm platform. | ||
| + | Also you are able to specify full path in CROSS_COMPILER: | ||
toolchain.1313019421.txt.gz · Last modified: by ggrandou · Currently locked by: 216.73.216.211,10.89.1.2
