Changes

Jump to navigation Jump to search
Updated adding info for adding 32 bit and 64 bit cross compilers
Line 24: Line 24:  
apt install git make gcc device-tree-compiler bison flex libssl-dev libncurses-dev</syntaxhighlight>
 
apt install git make gcc device-tree-compiler bison flex libssl-dev libncurses-dev</syntaxhighlight>
   −
2. Install latest GCC 4,9 cross compiler and associated toolset:<syntaxhighlight lang="text">
+
2. Install latest GCC 4,9 cross compiler and associated toolset:
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
+
== 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
 
sudo tar xf gcc-linaro-4.9.4-2017.01-x86_64_arm-linux-gnueabihf.tar.xz -C /opt</syntaxhighlight>
 
sudo tar xf gcc-linaro-4.9.4-2017.01-x86_64_arm-linux-gnueabihf.tar.xz -C /opt</syntaxhighlight>
 +
 +
== 64 bit ==
 +
<syntaxhighlight lang="text">wget http://releases.linaro.org/components/toolchain/binaries/4.9-2017.01/aarch64-linux-gnu/gcc-linaro-4.9.4-2017.01-x86_64_aarch64-linux-gnu.tar.xz
 +
sudo tar xf gcc-linaro-4.9.4-2017.01-x86_64_aarch64-linux-gnu.tar.xz -C /opt</syntaxhighlight>
    
= Cross compiling =
 
= Cross compiling =

Navigation menu