fgsfdsfgs / sm64-port

PS2, PS3, OG Xbox and DOS ports of sm64-port.
https://discord.gg/7bcNTPK
243 stars 38 forks source link

Compiling without Docker? #35

Open Tyberkid967 opened 3 years ago

Tyberkid967 commented 3 years ago

I just wanted to ask if you can compile the dos branch without docker. (If it helps i am running Windows 10)

fgsfdsfgs commented 3 years ago

Yes. You need to install MSYS2, get DJGPP from here, install it, add it to PATH by doing something like

export PATH="/path/to/where/you/put/djgpp/bin:$PATH"
export GCC_EXEC_PREFIX=/path/to/where/you/put/djgpp/lib/gcc/
export DJDIR=/path/to/where/you/put/djgpp/i586-pc-msdosdjgpp

in the MINGW32 terminal (or by adding it to msys2/home/<username>/.bashrc), then you just clone the repo and run make. Could also work in WSL, in which case you'd need to get DJGPP for Linux from the link in the Dockerfile.