Raspbian Stretch and Cross Toolchain for Linux and Mac OS

Debian 9 logo

Raspbian Stretch is out for Raspberry Pi. I needed a cross toolchain with the same exact version used to build the system so I built my own. As I had my script ready, I also tried to build one for Mac OS and it seems to work for the moment. I tested these cross toolchains for my projects and seemed to be able to build everything that I tried: Qt libs, apps, omxplayer, ffmpeg etc…

Download Linux x64 cross toolchain GCC 6.3.0 for Stretch here.
Download Mac OS cross toolchain GCC 6.3.0 for Stretch here.

NOTE: The Mac OS version requires some packages to be installed from macports.
NOTE: The toolchain is built to crossbuild for armv7-a. I could also build for armv8 but not sure if it also works for armv6.

Have fun! Bye! 😉

11 thoughts on “Raspbian Stretch and Cross Toolchain for Linux and Mac OS”

  1. I'm trying to use this for compiling for a R Pi Zero (ARMv6), but I get a segfault trying to run even the simplest hello-world prog… 🙁

  2. Hello Luca,
    can you post some information or linw about how to build our own crosscompiler for
    debian strech in Ubuntu 18.04?

  3. I tested the one from Ubuntu once but I could not build Qt. It is probably built with a different setup. No idea about the specific one you refer to. I prefer to configure one properly myself and avoid weird errors during complex builds that are difficult to track down.

  4. Good job!!!
    I hope next POT version with LGPL license….
    Your implementation based on omxplayer is better than oficial Qt gstreamer-omx LGPL plugin

Leave a Reply

Your email address will not be published. Required fields are marked *