Skip to content

Latest commit

 

History

History
64 lines (46 loc) · 1.82 KB

File metadata and controls

64 lines (46 loc) · 1.82 KB

🛠️ How to compile box64 (Termux native):

pkg install glibc-repo glibc-runner -y
pkg install git cmake-glibc make-glibc python-glibc libandroid-spawn libandroid-sysv-semaphore -y
pkg install git cmake-glibc make-glibc python-glibc libandroid-spawn libandroid-sysv-semaphore -y
unset LD_PRELOAD; export GLIBC_PREFIX=/data/data/com.termux/files/usr/glibc
export PATH=$GLIBC_PREFIX/bin:$PATH
cd ~/; git clone https://github.com/ptitSeb/box64; cd ~/box64
sed -i 's/\/usr/\/data\/data\/com.termux\/files\/usr\/glibc/g' CMakeLists.txt
sed -i 's/\/etc/\/data\/data\/com.termux\/files\/usr\/glibc\/etc/g' CMakeLists.txt
mkdir build; cd build
cmake --install-prefix $PREFIX/glibc .. -DARM_DYNAREC=1 -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBAD_SIGNAL=ON -DSD845=ON
make -j8
make install

🍷Learn about Wine:

Using XoW64-wine

  • Xow64-wine:- easy to configure and fast with good compatibility using newer version of wine and box64, support most graphic drivers for both termux glibc and proot Install From Here

There are three types of Wine installation options

  • Native: It can run apps based on your CPU architecture; for example, on an ARM-based CPU, you can only install Windows arm apps
  • Mobox: It can run x86_64 Windows apps on an aarch64 device with good performance

    ⚠️ You need to set up Mobox after the Termux-Desktop installation finishes From Here

  • Hangover-wine: Does the same thing as Mobox