glued_cross_compiler

This is an old revision of the document!


Cross-compiling for the Raspberry Pi

Compiling DUNE directly on the Raspberry Pi is possible, but soon becomes tedious, as it takes a while. Luckily there is an alternative, cross-compiling. The Raspberry Pi has an available toolchain at GitHub, but it uses a too old version of the gcc compiler, and therefore it will not compile DUNE. The solution to this, is to use the cross-compiler environment that is made for LSTS Glued.

  • Install required packages
  • Clone Glued from github
  • Run docker shell for the build system
  • Create build configuration for mariner-01
  • Compile system image for mariner-01
  • Create cross-compilation toolchain
  • Leave docker enviroment
  • Make directory for pibuild
  • cmake
  • make
  • glued_cross_compiler.1570434734.txt.gz
  • Last modified: 2022/09/19 11:33
  • (external edit)