Commit 22a50738 authored by Claes Sjofors's avatar Claes Sjofors

Doc rpi, gnueabihf installed with aptman_rpi.odt

parent c87b941b
Package pwrrpi containing runtime archives compiled with crosscompiler for raspbian on Raspberry PI.
1. Setup toolchain
1. Install cross compiler
mkdir /usr/local/rpi
cd /usr/local/rpi
git clone git://github.com/raspberrypi/tools.git
git checkout 9c3d7b6ac692498dd36fec2872e0b55f910baac1 # There is a bug in the latest commit
sudo apt-get install gcc-6-arm-linux-gnueabihf-base
gcc-6-arm-linux-gnueabihf
g++-6-arm-linux-gnueabihf
On 64-bit ubuntu:
sudo apt-get install libc6:i386 libgcc1:i386 gcc-4.6-base:i386 libstdc++5:i386 libstdc++6:i386 lib32z1 lib32ncurses5 lib32bz2-1.0
2. Define pwre links to the cross compiler
On 64-bit debian:
sudo dpkg -add-architecture i386
sudo apt-get update
sudo apt-get install ia32-libs
2. Define pwre links to the compiler tools
export pwre_cc=/usr/local/rpi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf-gcc
export pwre_cxx=/usr/local/rpi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf-g++
export pwre_ar=/usr/local/rpi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf-ar
export pwre_cc=arm-linux-gnueabihf-gcc-6
export pwre_cxx=arm-linux-gnueabihf-g++-6
export pwre_ar=arm-linux-gnueabihf-ar
3. Define a link to the exe directory of the host release
......
Package pwrrpi containing runtime archives compiled with crosscompiler for raspbian on Raspberry PI.
1. Setup toolchain
1. Install cross compiler
mkdir /usr/local/rpi
cd /usr/local/rpi
git clone git://github.com/raspberrypi/tools.git
git checkout 9c3d7b6ac692498dd36fec2872e0b55f910baac1 # There is a bug in the latest commit
sudo apt-get install gcc-6-arm-linux-gnueabihf-base
gcc-6-arm-linux-gnueabihf
g++-6-arm-linux-gnueabihf
On 64-bit ubuntu:
sudo apt-get install libc6:i386 libgcc1:i386 gcc-4.6-base:i386 libstdc++5:i386 libstdc++6:i386 lib32z1 lib32ncurses5 lib32bz2-1.0
2. Define pwre links to the cross compiler
On 64-bit debian:
sudo dpkg -add-architecture i386
sudo apt-get update
sudo apt-get install ia32-libs
2. Define pwre links to the compiler tools
export pwre_cc=/usr/local/rpi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf-gcc
export pwre_cxx=/usr/local/rpi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf-g++
export pwre_ar=/usr/local/rpi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf-ar
export pwre_cc=arm-linux-gnueabihf-gcc-6
export pwre_cxx=arm-linux-gnueabihf-g++-6
export pwre_ar=arm-linux-gnueabihf-ar
3. Define a link to the exe directory of the host release
......
Package pwrrpi containing runtime archives compiled with crosscompiler for raspbian on Raspberry PI.
1. Setup toolchain
1. Install cross compiler
mkdir /usr/local/rpi
cd /usr/local/rpi
git clone git://github.com/raspberrypi/tools.git
git checkout 9c3d7b6ac692498dd36fec2872e0b55f910baac1 # There is a bug in the latest commit
sudo apt-get install gcc-6-arm-linux-gnueabihf-base
gcc-6-arm-linux-gnueabihf
g++-6-arm-linux-gnueabihf
On 64-bit ubuntu:
sudo apt-get install libc6:i386 libgcc1:i386 gcc-4.6-base:i386 libstdc++5:i386 libstdc++6:i386 lib32z1 lib32ncurses5 lib32bz2-1.0
2. Define pwre links to the cross compiler
On 64-bit debian:
sudo dpkg -add-architecture i386
sudo apt-get update
sudo apt-get install ia32-libs
2. Define pwre links to the compiler tools
export pwre_cc=/usr/local/rpi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf-gcc
export pwre_cxx=/usr/local/rpi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf-g++
export pwre_ar=/usr/local/rpi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf-ar
export pwre_cc=arm-linux-gnueabihf-gcc-6
export pwre_cxx=arm-linux-gnueabihf-g++-6
export pwre_ar=arm-linux-gnueabihf-ar
3. Define a link to the exe directory of the host release
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment