Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Mario Lang <mlang@blind.guru>
To: buildroot@busybox.net
Subject: [Buildroot] qemu-user and binfmt support?
Date: Mon, 11 Dec 2017 23:40:16 +0100	[thread overview]
Message-ID: <87wp1sc2i7.fsf@home.blind.guru> (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

-- 
CYa,
  ?????

                 reply	other threads:[~2017-12-11 22:40 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wp1sc2i7.fsf@home.blind.guru \
    --to=mlang@blind.guru \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox