about summary refs log tree commit diff stats
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/COMPILE.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/COMPILE.md b/docs/COMPILE.md
index df4ed71d..b669dc1e 100644
--- a/docs/COMPILE.md
+++ b/docs/COMPILE.md
@@ -250,6 +250,11 @@ If you are not building from a git clone (for example, downloading a release sou
 

 You need to add `-DWITH_MOLD=1` if GNU ld is extremely slow. Then run `mold -run make -j4` to build (make sure [Mold](https://github.com/rui314/mold) is installed).

 

+#### Build a statically linked box64

+

+You can now build box64 staticaly linked, with `-DSTATICBUILD`. This is to use inside an x86_64 chroot. Note that this version of box64 will have just the minimum of wrapped libs. So only libc, libm and libpthread basically are wrapped. Other libs (like libGL or libvulkan, SDL2, etc...) will not be wrapped and x86_64 version will be used. It's designed to be used in docker image, or in headless server.

+Also, the Static Build is highly experimental, but feedback are always welcomed.

+

 ----

 

 Testing