psp:dev:sdk
PSPSDK (Ubuntu 20.04 LTS WSL2)
sudo mkdir -p /usr/local/pspdev sudo chown $USER:$(id -gn $USER) /usr/local/pspdev echo export PSPDEV=/usr/local/pspdev >> ~/.bashrc echo export PATH=\$PSPDEV/bin:\$PATH >> ~/.bashrc exit
wsl --shutdown
wget -q --show-progress https://github.com/pspdev/pspdev/releases/download/latest/pspdev-ubuntu-latest.tar.gz tar -xvf pspdev-ubuntu-latest.tar.gz -C $PSPDEV --strip-components=1 rm -f pspdev-ubuntu-latest.tar.gz
sudo apt install autoconf automake bison flex gcc libc6-dev libmpfr-dev libncurses5-dev libreadline-dev libusb-dev make p7zip-full patch python2 subversion texinfo unzip wget zlib1g-dev -y sudo apt install libmpc* -y sudo apt install binutils -y #sudo apt install libpthread-stubs0-dev
wget -q --show-progress https://github.com/PSP-Archive/openssl/archive/refs/heads/main.zip -O openssl-097j-psp.zip unzip openssl-097j-psp.zip cd openssl-main chmod +x ./Configure ./Configure psp --prefix=$(psp-config --psp-prefix) threads zlib no-shared no-asm export C_INCLUDE_PATH=$PSPDEV/psp/sdk/include/ #export LD_LIBRARY_PATH=$PSPDEV/psp/sdk/lib/ grep -rl sys\/fd_set.h . | xargs sed -i 's/sys\/fd_set.h/sys\/select.h/g' make
psp/dev/sdk.txt · Последнее изменение: 2024.05.09 22:20:21 — admin