Changes

Jump to navigation Jump to search
Added downloading/install of cross compile toolset for GCC 4.9
Line 17: Line 17:     
*[[Compiling]] - Building PTTLink from source
 
*[[Compiling]] - Building PTTLink from source
 +
 +
= Installing cross compiling toolchain =
 +
Lintaro has a recent version of the GCC 4.9 compiler that can be used to cross compile binaries for the Raspberry PI.
 +
 +
1. Install tools:<syntaxhighlight lang="text">
 +
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">
 +
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>
    
= Cross compiling =
 
= Cross compiling =

Navigation menu