Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| cross-compiling [2011/10/28 19:35] – created admin | cross-compiling [2021/02/04 21:00] (current) – admin | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | Setting up a [[crosstool-ng]] environment for ARM7 target | ||
| - | ====== Building Older GCC Versions on x86-64 Debian/ | + | ===== Building Older GCC Versions on x86-64 Debian/ |
| http:// | http:// | ||
| - | ====== Compiling 32-bit (i386) binaries in 64-bit (amd64) debian: ====== | + | ===== Compiling 32-bit (i386) binaries in 64-bit (amd64) debian ===== |
| apt-get install ia32-libs ia32-libs-gtk | apt-get install ia32-libs ia32-libs-gtk | ||
| Line 14: | Line 14: | ||
| linux32 make | linux32 make | ||
| + | [[http:// | ||
| + | |||
| + | |||
| + | ===== Cross-building for ARM in Ubuntu 64-bit ===== | ||
| + | |||
| + | In addition to ia32-libs, install gcc-arm-linux-gnueabi (armel), or gcc-arm-linux-gnueabihf (armhf). | ||
| + | |||
| + | We can do clean cross-builds using full qemu emulation or using user mode emulation with a chroot. Both options are described in the [[https:// | ||
| + | |||
| + | See also: | ||
| + | |||
| + | [[https:// | ||
| + | |||
| + | [[http:// | ||
| + | |||
| + | Useful Linaro [[https:// | ||
| + | |||
| + | The latest way of creating a rootfs is through [[http:// | ||
| + | |||
| + | http:// | ||
| + | rootstock --fqdn qemu-test --login qemu --password qemu --imagesize 2G --seed build-essential, | ||
| + | wget http:// | ||