-
Notifications
You must be signed in to change notification settings - Fork 71
Crosscompiling ARMv8 in Ubuntu
Pablo Tesone edited this page Nov 23, 2023
·
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 debootstrap --arch=arm64 mantic arm64-ubuntu
$ echo "[arm64-ubuntu]
description=Ubuntu 23.10 Mantic (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 in the ARM environment.
- build-essential
- gcc
- g++
- binutils
- cmake
- git
- wget
- unzip
- uuid-dev
- libssl-dev
- libtool
- automake