This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
development:toolchain [2018/01/10 12:25] – [Getting Started] preisig | development:toolchain [2020/03/19 10:46] – fachet | ||
---|---|---|---|
Line 11: | Line 11: | ||
The following Cross-Compilation toolchains are available: | The following Cross-Compilation toolchains are available: | ||
- | * [[ftp:// | + | * [[ftp:// |
- | * [[ftp:// | + | * [[ftp:// |
- | * [[ftp:// | + | * [[ftp:// |
Line 51: | Line 51: | ||
3. Compile it | 3. Compile it | ||
- | __Power PC:__ | + | __PowerPC:__ |
<code bash> | <code bash> | ||
powerpc-openwrt-linux-gcc -Wall hello.c -o hello | powerpc-openwrt-linux-gcc -Wall hello.c -o hello | ||
Line 66: | Line 66: | ||
This example shows you how to compile a program from source. The program in this example is [[https:// | This example shows you how to compile a program from source. The program in this example is [[https:// | ||
+ | __PowerPC__ | ||
<code bash> | <code bash> | ||
wget https:// | wget https:// | ||
Line 71: | Line 72: | ||
cd jq-1.5 | cd jq-1.5 | ||
CC=powerpc-openwrt-linux-gcc ./configure --host=powerpc --disable-maintainer-mode | CC=powerpc-openwrt-linux-gcc ./configure --host=powerpc --disable-maintainer-mode | ||
+ | make | ||
+ | </ | ||
+ | |||
+ | __ARM__ | ||
+ | <code bash> | ||
+ | wget https:// | ||
+ | tar -xzf jq-1.5.tar.gz | ||
+ | cd jq-1.5 | ||
+ | CC=arm-openwrt-linux-gcc ./configure --host=arm --disable-maintainer-mode | ||
make | make | ||
</ | </ |