Can Erlang be cross compiled?
From release R13B04 (released February 2010) onwards, the standard Erlang/OTP distribution includes support and documentation for cross compiling. This is described in the INSTALL-CROSS.md file at the top of the Erlang source, available from the downloads page. Releases prior to R13B04 can also be cross-compiled with a moderate amount of effort. There’s a fairly detailed writeup on the trapexit wiki which covers cross compiling between linux systems.