[OpenWrt Wiki] Cross compiling
openwrt.org › docs › guide-developerOct 15, 2021 · Cross compiling If you want to use a program, currently not contained in the OpenWrt repository, you probably won't find a binary compiled for your CPU. Provided that it is released as open source, you can download the code and compile it using the OpenWrt Buildroot. Note that not every code is compilable for every CPU architecture. Also performance and available RAM on embedded systems is ...
OpenWRT - HaskellWiki
https://wiki.haskell.org/OpenWRTCurrently, on OpenWRT trunk, the gcc package is broken. What I really want is a cross-compiler, which will run on my glibc-based Ubuntu box, but will build executables that use statically-linked musl. That, in turn, requires having a cross-compiling toolchain (gcc, binutils, etc.) before building the ghc cross-compiler.