Create Debian sysroots
Contents
Introduction
We'll create Debian sysroots suitable for a GCC cross compiler.
Prerequisites
Install debootstrap
apt install -y debootstrap
Run debootstrap
mkdir -p /tmp/sysroots cd /tmp/sysroots for arch in amd64 arm64 mips mips64el ppc64el; do debootstrap --arch $arch --variant=buildd stable debian-$arch http://deb.debian.org/debian; done