about summary refs log tree commit diff stats
path: root/docs/COMPILE.md
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2022-03-23 10:23:00 +0100
committerptitSeb <sebastien.chev@gmail.com>2022-03-23 10:23:00 +0100
commitfa07a0f3310858c7000762d10778e42ace256a40 (patch)
treea23d4e80bb01ae31d58e3468251fff00ffd5a9bf /docs/COMPILE.md
parent44a20349e3d07af9b1e65f261be2ed150e86b11e (diff)
downloadbox64-fa07a0f3310858c7000762d10778e42ace256a40.tar.gz
box64-fa07a0f3310858c7000762d10778e42ace256a40.zip
Added a better way to select 16K pages, and added M1 paragraph in COMPILE.md
Diffstat (limited to 'docs/COMPILE.md')
-rwxr-xr-xdocs/COMPILE.md17
1 files changed, 17 insertions, 0 deletions
diff --git a/docs/COMPILE.md b/docs/COMPILE.md
index 0238a040..175ad170 100755
--- a/docs/COMPILE.md
+++ b/docs/COMPILE.md
@@ -80,6 +80,23 @@ If it's the first install, you also need:
 sudo systemctl restart systemd-binfmt

 ```

 

+#### for M1

+

+Only test on Asahi for now, using the default "16K page" kernel

+

+```

+git clone https://github.com/ptitSeb/box64

+cd box64

+mkdir build; cd build; cmake .. -DM1=1 -DCMAKE_BUILD_TYPE=RelWithDebInfo

+make -j4

+sudo make install

+```

+If it's the first install, you also need:

+```

+sudo systemctl restart systemd-binfmt

+```

+

+

 #### for Other ARM64 Linux platforms

 

  `mkdir build; cd build; cmake .. -DARM_DYNAREC=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo; make -j$(nproc)`