Does anyone have any good recommendations for a li...
# random
n
Does anyone have any good recommendations for a lightweight linux distro that is usable in VirtualBox, easy to install, and can easily install the GTK 3 development library/package (for cross compiling a Kotlin Native library) without having any other libraries/packages removed. Any distro based on Debian or Ubuntu will have the issue where installing the libgtk-3-dev:armhf package will remove other packages, including the libgtk-3-dev:amd64 package ☹️.
d
Lightweight. Arch?
🤔 1
n
Could try Manjaro (the more user friendly version of Arch?).
Wonder how would JetBrains do Kotlin Native cross compilation to Arm if they were using a Linux distro.
s
Manjaro 💪
n
Found using chroot and Qemu on Linux Mint to be the best solution for cross compilation ( http://shallowsky.com/blog/linux/raspbian-virtual-on-x86.html ).
d
Are you bundling a static lib or just using the headers?
n
Using the headers and dynamic library files.
b
You could use docker
and just do your builds in docker containers
or in a vm that you ssh into
with vms you can even build on native distributions
they will be slower to run/boot, but it usually makes the whole compilation much easier to configure
m
Manjaro is nice one!
n
Isolated environments are created/managed with chroot (built into many Linux distros -

https://youtu.be/N87m6fxO5a8

), and Qemu handles emulation (it can virtualise CPUs unlike VirtualBox).