Changes

Jump to navigation Jump to search
m
Line 23: Line 23:  
== Installing cross compiling toolchain ==
 
== Installing cross compiling toolchain ==
 
Run the following to install a newer cross compiling toolchain from your distro's package tree along with other necessary utilities:
 
Run the following to install a newer cross compiling toolchain from your distro's package tree along with other necessary utilities:
<syntaxhighlight lang="text">apt-get install -y git bc bison flex libssl-dev make device-tree-compiler libc6-dev libncurses5-dev crossbuild-essential-armhf crossbuild-essential-arm64</syntaxhighlight>
+
<syntaxhighlight lang="text">apt-get install -y git bc bison flex rsync libssl-dev make device-tree-compiler libc6-dev libncurses5-dev crossbuild-essential-armhf crossbuild-essential-arm64</syntaxhighlight>
    
=== GCC 4.9 ===
 
=== GCC 4.9 ===
 
If you intend to cross compile pieces of the Asterisk 1.4 distribution then you will need the GCC 4.9.x compiler.  Linaro has a recent version of the GCC 4.9 compiler that we can use for this.
 
If you intend to cross compile pieces of the Asterisk 1.4 distribution then you will need the GCC 4.9.x compiler.  Linaro has a recent version of the GCC 4.9 compiler that we can use for this.
   −
Install latest GCC 4.9.x cross compiler and associated toolset:
+
*Install latest GCC 4.9.x cross compiler and associated toolset:
 
==== 32 bit ====
 
==== 32 bit ====
 
<syntaxhighlight lang="text">wget http://releases.linaro.org/components/toolchain/binaries/4.9-2017.01/arm-linux-gnueabihf/gcc-linaro-4.9.4-2017.01-x86_64_arm-linux-gnueabihf.tar.xz
 
<syntaxhighlight lang="text">wget http://releases.linaro.org/components/toolchain/binaries/4.9-2017.01/arm-linux-gnueabihf/gcc-linaro-4.9.4-2017.01-x86_64_arm-linux-gnueabihf.tar.xz

Navigation menu