38.1. Supported hosts

The host requirements depend a lot on which examples you want to run.

Some setups of this repository are very portable, notably setups under Userland setup, e.g. C, and will likely work on any host system with minimal modification.

The least portable setups are those that require Buildroot and crosstool-NG.

We tend to test this repo the most on the latest Ubuntu and on the latest Ubuntu LTS.

For other Linux distros, everything will likely also just work if you install the analogous required packages for your distro.

Find out the packages that we install with:

cat ./setup
./build --download-dependencies --dry-run <some-target> | less

and then just look for the apt-get commands shown on the log.

After installing the missing packages for your distro, do the build with:

./build --download-dependencies --no-apt <some-target>

which does everything as normal, except that it skips any apt commands.

If something does not work however, Docker host setup should just work on any Linux distro.

Native Windows is unlikely feasible for Buildroot setups because Buildroot is a huge set of GNU Make scripts + host tools, just do everything from inside an Ubuntu in VirtualBox instance in that case.

Pull requests with ports to new host systems and reports on issues that things work or don’t work on your host are welcome.