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. Package pwrrpi containing runtime archives compiled with crosscompiler for raspbian on Raspberry PI.
1. Setup toolchain 1. Install cross compiler
mkdir /usr/local/rpi sudo apt-get install gcc-6-arm-linux-gnueabihf-base
cd /usr/local/rpi gcc-6-arm-linux-gnueabihf
git clone git://github.com/raspberrypi/tools.git g++-6-arm-linux-gnueabihf
git checkout 9c3d7b6ac692498dd36fec2872e0b55f910baac1 # There is a bug in the latest commit
On 64-bit ubuntu: 2. Define pwre links to the cross compiler
sudo apt-get install libc6:i386 libgcc1:i386 gcc-4.6-base:i386 libstdc++5:i386 libstdc++6:i386 lib32z1 lib32ncurses5 lib32bz2-1.0
On 64-bit debian: export pwre_cc=arm-linux-gnueabihf-gcc-6
sudo dpkg -add-architecture i386 export pwre_cxx=arm-linux-gnueabihf-g++-6
sudo apt-get update export pwre_ar=arm-linux-gnueabihf-ar
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
3. Define a link to the exe directory of the host release 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. Package pwrrpi containing runtime archives compiled with crosscompiler for raspbian on Raspberry PI.
1. Setup toolchain 1. Install cross compiler
mkdir /usr/local/rpi sudo apt-get install gcc-6-arm-linux-gnueabihf-base
cd /usr/local/rpi gcc-6-arm-linux-gnueabihf
git clone git://github.com/raspberrypi/tools.git g++-6-arm-linux-gnueabihf
git checkout 9c3d7b6ac692498dd36fec2872e0b55f910baac1 # There is a bug in the latest commit
On 64-bit ubuntu: 2. Define pwre links to the cross compiler
sudo apt-get install libc6:i386 libgcc1:i386 gcc-4.6-base:i386 libstdc++5:i386 libstdc++6:i386 lib32z1 lib32ncurses5 lib32bz2-1.0
On 64-bit debian: export pwre_cc=arm-linux-gnueabihf-gcc-6
sudo dpkg -add-architecture i386 export pwre_cxx=arm-linux-gnueabihf-g++-6
sudo apt-get update export pwre_ar=arm-linux-gnueabihf-ar
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
3. Define a link to the exe directory of the host release 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. Package pwrrpi containing runtime archives compiled with crosscompiler for raspbian on Raspberry PI.
1. Setup toolchain 1. Install cross compiler
mkdir /usr/local/rpi sudo apt-get install gcc-6-arm-linux-gnueabihf-base
cd /usr/local/rpi gcc-6-arm-linux-gnueabihf
git clone git://github.com/raspberrypi/tools.git g++-6-arm-linux-gnueabihf
git checkout 9c3d7b6ac692498dd36fec2872e0b55f910baac1 # There is a bug in the latest commit
On 64-bit ubuntu: 2. Define pwre links to the cross compiler
sudo apt-get install libc6:i386 libgcc1:i386 gcc-4.6-base:i386 libstdc++5:i386 libstdc++6:i386 lib32z1 lib32ncurses5 lib32bz2-1.0
On 64-bit debian: export pwre_cc=arm-linux-gnueabihf-gcc-6
sudo dpkg -add-architecture i386 export pwre_cxx=arm-linux-gnueabihf-g++-6
sudo apt-get update export pwre_ar=arm-linux-gnueabihf-ar
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
3. Define a link to the exe directory of the host release 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