Compiling QMK on pocket reform?

Hi,

I’m trying to get the dependencies right to compile vial-qmk for an external keyboard. Currently thinking that gcc-arm-none-eabi and libnewlib-arm-none-eabi might be the one. But I see that when I try to install the gcc package libnewlib is uninstalled even though the gcc package is recommended to install by the libnewlib.

So I’m wondering, have the dependency tree been modified for this package? Still there after disabling reform repo.

Though if someone got QMK compiling I’d be very happy to hear what compiler+lib combination you use.

No no, I’m right it literally mentions “gcc-arm-none-eabi libnewlib-arm-none-eabi” in the install script for Debian.

libstdc++-arm-none-eabi-newlib has been uninstallable in Debian unstable since 2026-01-21. Keith is currently reworking the arm-none-eabi toolchain to replace newlib with picolibc.

There are a bunch of problems with the relevant package set right now:

We had to add some patches to make pico-sdk work with picolibc instead of newlib. If QMK assumes newlib, then changes might be required there as well.

1 Like

Ah, that explains it. Thank you for the links. Then I think I’ll use a distrobox for now.