about summary refs log tree commit diff stats
path: root/docs/COMPILE.md
diff options
context:
space:
mode:
authorjosch <josch@mister-muffin.de>2024-01-31 17:29:34 +0000
committerGitHub <noreply@github.com>2024-01-31 18:29:34 +0100
commit508a1539737b5ba86516c73e34bf167eb37859ad (patch)
treea0e0813fab09e940efe5d1cead940d48193096c1 /docs/COMPILE.md
parent5d8b70cc0da48f65eaecab9f90fc9ef0f5fd5651 (diff)
downloadbox64-508a1539737b5ba86516c73e34bf167eb37859ad.tar.gz
box64-508a1539737b5ba86516c73e34bf167eb37859ad.zip
When BOX64_VERSION is set, just print the version and exit (#1238)
When set, box64 will only print its version and then exit. This option
is analogous to QEMU_VERSION used by binfmt_misc emulation of qemu-user.
Its purpose is the same: provide a way to soft-disable binfmt_misc
emulation as well as for identifying box64 as the registered binfmt_misc
emulator.

This commit enables adding support for box64 to the arch-test utility.
With this change, arch-test is able to soft-disable box64 as the x86_64
emulator in the same way as it does this for qemu and wine already.
Without this change, arch-test will report an architecture as natively
executable by the processor, disregarding that it actually gets emulated
by box64.

Furthermore, this commit enables identifying box64 as the currently
registered emulator for x86_64. This way, applications that know that
their emulation requirements cannot work with box64 can add a check to
find out that it is box64 doing the emulation and are able to print a
helpful error message.

Closes: #1237
Diffstat (limited to 'docs/COMPILE.md')
0 files changed, 0 insertions, 0 deletions