Compile

How to Cross Compile for Raspberry Pi Using Docker

How to Cross Compile for Raspberry Pi Using Docker

I prefer to write code on my Mac and then push it to the Pi. That way I don’t have to try to find the Pi version of development tools and editors that I like to use. It also keeps junk off the Pi leaving it lean and mean. This is fine for interpreted languages. But when I want to write code in C or C++ this becomes a problem.