Monday, December 16, 2013

O'Reilly Media book: Raspberry Pi Hacks

HACK 05: Monitor the Raspberry Pi Hardware

HACK 08: Get More USB Ports: bus powered USB hubs vs. externally powered USB hubs, backpower
HACK 20: Add Additional Memory with Swap (do not swap on SD cards and USB flash drives!)

HACK 21: Build a Cross-Compiler Toolchain; on openSuSE:
  • $ sudo zypper install gcc gcc-c++ bison make ncurses-devel texinfo flex gperf libtool sed subversion gmp-devel libstdc++-devel; # there is no libstdc++-static
  • instead of crosstool-ng-1.18.0.tar.bz2 I got crosstool-ng-1.19.0.tar.bz2
  • completed building crosstool-ng like this: $ sudo make install
  • $ mkdir /usr/local/cross-sandbox && cd /usr/local/cross-sandbox
  • set prefix directory to /usr/local/x-tools/${CT_TARGET}
  • $ env -u LD_LIBRARY_PATH ct-ng build # because it does not like LD_LIBRARY_PATH set
  • *** I am stuck here ***

No comments: