sudo apt update sudo apt install xterm echo "export DISPLAY=:0" >> ~/.bashrc mkdir -p bin echo -e '#!/bin/bash\ncd ~\nexport DISPLAY=:0\nnohup xterm &>/dev/null </dev/null &' >bin/xterm chmod u+x bin/xterm
@echo off rem start xserver if not yet running tasklist | find /c "vcxsrv" > nul: if errorlevel 1 ( start /b c:\Users\%USERNAME%\config.xlaunch timeout 5 >nul ) :X wsl -- /bin/bash -c /home/%USERNAME%/bin/xterm >nul 2>nul goto R%errorlevel% :R127 echo FATAL goto Y :R1 timeout 1 >nul goto X :R0 echo OK Y:
sudo apt upgrade
sudo apt install make wget git gcc g++ lhasa libgmp-dev libmpfr-dev libmpc-dev flex bison gettext texinfo ncurses-dev autoconf rsync git clone https://github.com/bebbo/amiga-gcc cd amiga-gcc sudo mkdir -p /opt/amiga sudo chown -R $USER:$USER /opt/amiga make all -j make all-sdk -j