Skip to contentSkip to conversation

qemu-user and binfmt support?

Buildroot Mario Lang 1 participant 1 message Dec 11, 2017

lore
Share & tools
lore

Mario Lang

author
#0 lore raw

Hi.

This is likely nothing new to most of you, but I just stumbled across binfmt and qemu-user. Story short, I managed to cross-build Emacs, which runs several compiled binaries during build time. I now wonder how to commit this success... Fiddling with /etc/qemu-binfmt/$ARCH does work, but it isn't really a good solution. I know I could patch the build system to automatically call qemu-user, but... Is there perhaps some other way to temporarily override the binfmt interpreter for the target arch magic, such that I can pass -L $(TARGET_DIR) ? Perhaps some env var I am missing? I am using the host (Debian) installation of qemu-user. Does the host-qemu package have something I missed?

Thanks

Signature · 2 lines
CYa,
  ?????