Changes

731 bytes added ,  10:25, 23 July 2014
Line 4: Line 4:     
== Prerequisites ==
 
== Prerequisites ==
 +
 +
=== Compiler and C Library ===
 +
For native compilation on Debian based systems, install the <code>build-essential</code> package. For cross compiling for ARM and AArch64, the Linaro prebuilt toolchains are a good choice. Installing them is described below.
 +
 +
mkdir toolchains
 +
cd toolchains
 +
wget http://releases.linaro.org/14.06/components/toolchain/binaries/gcc-linaro-arm-linux-gnueabihf-4.9-2014.06_linux.tar.xz
 +
tar --strip=1 -xf gcc-linaro-arm-linux-gnueabihf-4.9-2014.06_linux.tar.xz
 +
wget http://releases.linaro.org/14.06/components/toolchain/binaries/gcc-linaro-aarch64-linux-gnu-4.9-2014.06-02_linux.tar.xz
 +
tar --strip=1 -xf gcc-linaro-aarch64-linux-gnu-4.9-2014.06-02_linux.tar.xz
 +
export PATH="`pwd`/bin:$PATH"
 +
cd ..
    
=== Protocol Buffers with C Bindings ===
 
=== Protocol Buffers with C Bindings ===
50

edits