Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 14 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,15 +114,22 @@ different location.
This will compile pthreads and MPI versions
Run 'modeltest-ng --help' for help about the console interface.

To compile a Windows executable, install MinGW and run:
### Windows installation

```bash
$ ac_cv_func_malloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes mingw64-configure
$ make
```

In case the configure script does not exist, it must be generated using autotools:
To compile a Windows executable, install [MSYS2](https://www.msys2.org/), then launch MinGW and run:

```bash
$ pacman -S autoconf automake make cmake gcc libtool flex bison
$ cd libs/pll-modules/libs/libpll
$ autoreconf -i
$ ./configure
$ make
$ cd ../../
$ autoreconf -i
$ ./configure
$ mkdir build && cd build && cmake .. && make
$ cd ../../../
$ autoreconf -i
$ mkdir build && cd build && cmake .. && make
```