Skip to content

Instantly share code, notes, and snippets.

@kekekeks
Last active January 24, 2019 14:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kekekeks/703862f7ae08ff2351018b8610e53303 to your computer and use it in GitHub Desktop.
Save kekekeks/703862f7ae08ff2351018b8610e53303 to your computer and use it in GitHub Desktop.
SkiaSharp cross-building
debootstrap trusty /build-armhf

# Will need to do it after every reboot
mount --rbind /proc /build-armhf/proc
mount --rbind /home /build/armhf/home

chroot /build-armhf
adduser YOUR_USER_NAME_HERE

Change /etc/apt/sources.list to:


deb [arch=amd64,i386] http://archive.ubuntu.com/ubuntu trusty main restricted universe multiverse
deb [arch=amd64,i386] http://security.ubuntu.com/ubuntu trusty-security main restricted universe multiverse
deb [arch=armhf] http://ports.ubuntu.com/ubuntu-ports trusty main

dpkg --add-architecture armhf
apt-get update
apt-get install clang-3.9 libfontconfig1-dev:armhf python-minimal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment