Merge pull request #119 from Linux-Adaptation-Integrated-Toolkit/main

additional info for compilation document
This commit is contained in:
ptitSeb 2021-09-27 17:21:48 +02:00 committed by GitHub
commit dbce2758b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)`