Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
development:toolchain [2018/01/10 12:25]
preisig [Getting Started]
development:toolchain [2018/01/10 13:00]
preisig [Toolchain]
Line 11: Line 11:
 The following Cross-Compilation toolchains are available: The following Cross-Compilation toolchains are available:
  
-  * [[ftp://​share.netmodule.com/​router/​public/​toolchain/​netbox-ppc/​ | Netbox-PPC]] / NB1600, NB2700, NB2710, NB3700 and NB3710 +  * [[ftp://​share.netmodule.com/​router/​public/​toolchain/​netbox-ppc/​ | PowerPC]] / NB1600, NB2700, NB2710, NB3700 and NB3710 
-  * [[ftp://​share.netmodule.com/​router/​public/​toolchain/​netbolt-arm/​ | Netbolt-ARM]] / NB2800, NB3701, NB3711 and NB3800 +  * [[ftp://​share.netmodule.com/​router/​public/​toolchain/​netbolt-arm/​ | ARM]] / NB2800, NB3701, NB3711 and NB3800 
-  * [[ftp://​share.netmodule.com/​router/​public/​toolchain/​netbird-arm/​ | Netbird-ARM]] / NB800+  * [[ftp://​share.netmodule.com/​router/​public/​toolchain/​netbird-arm/​ | ARM]] / NB800
  
  
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://​stedolan.github.io/​jq/​download/​ | jq]] This example shows you how to compile a program from source. The program in this example is [[https://​stedolan.github.io/​jq/​download/​ | jq]]
  
 +__PowerPC__
 <code bash> <code bash>
 wget https://​github.com/​stedolan/​jq/​releases/​download/​jq-1.5/​jq-1.5.tar.gz wget https://​github.com/​stedolan/​jq/​releases/​download/​jq-1.5/​jq-1.5.tar.gz
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
 +</​code>​
 +
 +__ARM__
 +<code bash>
 +wget https://​github.com/​stedolan/​jq/​releases/​download/​jq-1.5/​jq-1.5.tar.gz
 +tar -xzf jq-1.5.tar.gz
 +cd jq-1.5
 +CC=arm-openwrt-linux-gcc ./configure --host=arm --disable-maintainer-mode
 make make
 </​code>​ </​code>​