-
-
Notifications
You must be signed in to change notification settings - Fork 467
How to build
Pafish is built using mingw-w64 and make, follow the instructions to install these tools in your platform. Visit the official mingw-w64 website for additional documentation.
For compiling on Windows, Cygwin is recommended. It will setup an Unix-like environment with a package manager to install only selected software.
During the installation, select the packages make
, mingw64-i686-gcc-core
and mingw64-x86_64-gcc-core
.
Then run Cygwin Terminal, move to the project directory and compile it use the following commands:
Alberto@Alberto-PC /cygdrive/f/pafish
$ cd pafish/
Alberto@Alberto-PC /cygdrive/f/pafish/pafish
$ make -f Makefile.linux
[...]
Alberto@Alberto-PC /cygdrive/f/pafish/pafish
$ ls Output/MingW/
pafish.exe
To compile on a Debian based distribution (Ubuntu, Mint, ...), install the required packages executing:
sudo apt-get install make mingw-w64
To compile on a Red Hat like distribution (Fedora, CentOS, ...):
sudo yum install make mingw32-gcc mingw64-gcc
To compile on Arch Linux:
pacman -S make mingw-w64-gcc
Then compile using the following commands:
$ cd pafish/
$ make -f Makefile.linux
[...]
$ ls Output/MingW/
pafish.exe