Saturday, June 21, 2014

Install gcc/g++ 4.7 on Raspberry Pi and set as default

Install gcc-4.7 g++-4.7 on Raspberry Pi, enter the commands:

$ sudo apt-get install gcc-4.7 g++-4.7
$ sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.6 60 --slave /usr/bin/g++ g++ /usr/bin/g++-4.6
$ sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.7 40 --slave /usr/bin/g++ g++ /usr/bin/g++-4.7

Then run the the command and select gcc-4.7.
$ sudo update-alternatives --config gcc

Update Raspberry Pi system with apt-get

To update your Raspberry Pi system, run the commands in Terminal:

$ sudo apt-get update
$ sudo apt-get upgrade


Friday, June 20, 2014

osandov's Raspberry Pi TSC2007 Kernel Modules updated

The Kernel Modules of Raspberry Pi TSC2007, osandov/raspi/tsc2007, updated at Jun 12, 2014 to fix compilation errors for kernel versions >3.8.

TSC2007 is the parts used in Tontec 2.4-inch TFT LCD 240x320 RGB Pixels Touch Screen Display Monitor For Raspberry Pi, may be I have to try it later.