Pages with tag Cross Compilation

Bare-metal Rust for AVR/Arduino and ARM microcontrollers coming soon In contemplating a project for an embedded microcontroller product, the customer is suggesting C++ and I'm having bad memories of memory allocations gone haywire. I've heard good things about Rust, being a modern language with the same mindset of C/C++ in terms of doing low level operations. Would Rust make a good choice for embedded device programming? Seems that it's still early days for that dream, as the tools aren't all lined up. Important thing is that folks are thinking in that direction and working towards that result. For some specific embedded CPU's it is possible to configure a Rust/LLVM toolchain that works fine.
Compiling Rust for Raspberry Pi Instructions for cross-compiling Rust code to ARMv7, such as the Raspberry Pi.
Using Docker to host ARM toolchain to cross-compile C code I'm starting up a project that will see me doing custom software development for an ARM single-board-computer running Linux. The recommendation isn't to do compiles ON the board, but instead to cross compile from a Linux workstation (Debian). But, I use a Mac laptop, as do most software engineers these days. While I could run VirtualBox to set up a Debian cross-compiling environment, Docker is much lighter weight. While Docker was originally targeted for deploying server applications, it is useful for packaging anything. In this case there's a ready-made set of Docker containers for cross-compilation including for ARM CPU's.