Difference between revisions of "Create Debian sysroots"
(→Prerequisites) |
|||
Line 13: | Line 13: | ||
sudo apt install -y debootstrap | sudo apt install -y debootstrap | ||
+ | |||
+ | == Run debootstrap == | ||
+ | |||
+ | for arch in amd64 arm64 miops mips64el ppc64el; do sudo debootstrap --arch $arch --variant=buildd stable debian-$arch http://deb.debian.org/debian; done | ||
+ | |||
+ | == See also == | ||
+ | |||
+ | * [https://wiki.debian.org/Debootstrap | debootstrap] |
Revision as of 12:39, 24 November 2019
Introduction
We'll create Debian sysroots suitable for a GCC cross compiler.
Prerequisites
Debian or Ubuntu or any system that can run | debootstrap.
Install debootstrap
sudo apt install -y debootstrap
Run debootstrap
for arch in amd64 arm64 miops mips64el ppc64el; do sudo debootstrap --arch $arch --variant=buildd stable debian-$arch http://deb.debian.org/debian; done