-
Notifications
You must be signed in to change notification settings - Fork 78
Crosscompiling ARMv8 in Ubuntu
Pablo Tesone edited this page Oct 12, 2020
·
4 revisions
From: [http://logan.tw/posts/2017/01/21/introduction-to-qemu-debootstrap/]
To Setup:
$ sudo apt-get install debootstrap qemu-user-static schroot
$ sudo qemu-debootstrap --arch=arm64 focal arm64-ubuntu
$ echo "[arm64-ubuntu]
description=Ubuntu 20.04 Focal (arm64)
directory=$(pwd)/arm64-ubuntu
root-users=$(whoami)
users=$(whoami)
type=directory" | sudo tee /etc/schroot/chroot.d/arm64-ubuntu
To Enter:
$ schroot -c arm64-ubuntu
Packages to Install
- build-essentials
- gcc
- g++
- binutils
- cmake
- git
- wget
- unzip
- uuid-dev
- libssl-dev
- libtool
- automake
- Compiling and repo organization
- Participate!
- Misc