2013年4月27日 星期六

Raspberry PI 交叉編譯環境配置…

http://hertaville.com/2012/09/28/development-environment-raspberry-pi-cross-compiler/

按步驟完成。

apt-get install git rsync cmake
mkdir rpi
cd rpi
git clone git://github.com/raspberrypi/tools.git
cd ~/
nano .bashrc
    ADD LINE : export PATH=$PATH:$HOME/rpi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin
source .bashrc
arm-linux-gnueabihf-gcc -v
sudo apt-get install openjdk-7-jre
DOWNLOAD ECLIPSE FROM : http://www.eclipse.org/downloads/packages/eclipse-ide-cc-developers/keplerr
tar -xvzf eclipse-cpp-kepler-R-linux-gtk-x86_64.tar.gz -C ~/
~/eclipse/eclipse &

New project
Cross GCC
Cross compiler prefix : arm-linux-gnueabihf-
Cross compiler path : /home//rpi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/

新專案記得存檔

沒有留言:

VirtualBox 空間減肥

sdelete64 -z c: VBoxManage  modifymedium  disk  "/Users/fellow/VirtualBox VMs/Win10/Win10.vdi"  --compact *.vdi 路徑可以在 VirtualBox 儲...