From 837f7edd55583274c7c163296a45208ebecbf284 Mon Sep 17 00:00:00 2001 From: zhaozhen <345865759@163.com> Date: Mon, 27 Sep 2021 22:21:49 +0800 Subject: additional info for compilation document --- docs/COMPILE.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/docs/COMPILE.md b/docs/COMPILE.md index d12fd2a0..e15bebb2 100755 --- a/docs/COMPILE.md +++ b/docs/COMPILE.md @@ -47,6 +47,22 @@ If it's the first install, you also need: sudo systemctl restart systemd-binfmt ``` +#### for LoongArch + +Using a 64bits OS: + +``` +git clone https://github.com/ptitSeb/box64 +cd box64 +mkdir build; cd build; cmake .. -DLARCH64=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)` -- cgit 1.4.1