Then I created a VM using the command line version of qemu-kvm:
Code: Select all
sudo apt-get update
sudo apt-get install qemu-kvm
dd if=/dev/zero of=/tmp/kvm.img bs=1024 count=0 seek=$[10*1024*1024]
kvm -hda /tmp/kvm.img -cdrom manjaro-gnome-20.0.3-200606-linux56.iso -m4096 -smp 2 -soundhw all -usb -vga vmware
When the bootscreen for Manjaro displayed, I had to choose the non-free drivers for it to work properly with the vmware vga emulation.
Then I installed the prerequisite dependencies for compiling Uzebox games, and built the source:
Code: Select all
sudo pacman -S avr-gcc avr-libc gcc git make sdl2
git clone https://github.com/uzebox/uzebox
cd uzebox
make
Both the gcc and the avr-gcc that gets installed by the default package manager are versions 10.2.0, which is pretty wild!
There are still some warnings that we can fix in the output, but I really wanted to play around with avr-gcc 10.2.0, just to see how it is.
Circuit Puzzle got slightly larger when I compiled it with 10.2.0, but Laser Puzzle II shrunk by 1024 Bytes!