diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2022-03-23 10:23:00 +0100 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2022-03-23 10:23:00 +0100 |
| commit | fa07a0f3310858c7000762d10778e42ace256a40 (patch) | |
| tree | a23d4e80bb01ae31d58e3468251fff00ffd5a9bf /docs/COMPILE.md | |
| parent | 44a20349e3d07af9b1e65f261be2ed150e86b11e (diff) | |
| download | box64-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-x | docs/COMPILE.md | 17 |
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)` |