Developing freeciv on Windows using msys2
Posted: Sat Apr 22, 2017 4:23 pm
We should advertise msys2 environment more as a potential development environment for Windows users. While compiling in msys2 seems to be very slow, it shouldn't make it unusable for incremental type (compile only those source files which have changed) of builds typically occurring in the development. This thread is for your questions about using msys2 environment for building freeciv for yourself, or even developing it.
Freeciv is about to transition from subversion repository to git repository. Our msys2 environment contains tools specific to the repository type. I'm currently working on a new msys2 environment version that has git instead of subversion. As freeciv still lives in subversion repository, this new version is not usable for most users. The latest version that is suitable for accessing current subversion repository is 170126 (26th of January 2017 level). The environments are available from http://files.freeciv.org/packages/windows/msys2/
We now support only win64 builds. The environment does not have necessary tools for win32 builds installed.
Documentation about using the environments is in doc/README.msys2 in freeciv source tree. Msys2 is supported in freeciv S2_6 branch and later. The document can be seen also from the web interface to the repository:
S2_6: http://svn.gna.org/viewcvs/*checkout*/f ... ADME.msys2
S3_0: http://svn.gna.org/viewcvs/*checkout*/f ... ADME.msys2
TRUNK: http://svn.gna.org/viewcvs/*checkout*/f ... ADME.msys2
So far msys2 environment has been mainly used for building Installer packages, and the documentation reflect that to some degree. In the development work it's possible to build just the freeciv program binaries, and do it incrementally instead of making every build from scratch, and run those binaries inside the environment without need to do any installation steps.
Freeciv is about to transition from subversion repository to git repository. Our msys2 environment contains tools specific to the repository type. I'm currently working on a new msys2 environment version that has git instead of subversion. As freeciv still lives in subversion repository, this new version is not usable for most users. The latest version that is suitable for accessing current subversion repository is 170126 (26th of January 2017 level). The environments are available from http://files.freeciv.org/packages/windows/msys2/
We now support only win64 builds. The environment does not have necessary tools for win32 builds installed.
Documentation about using the environments is in doc/README.msys2 in freeciv source tree. Msys2 is supported in freeciv S2_6 branch and later. The document can be seen also from the web interface to the repository:
S2_6: http://svn.gna.org/viewcvs/*checkout*/f ... ADME.msys2
S3_0: http://svn.gna.org/viewcvs/*checkout*/f ... ADME.msys2
TRUNK: http://svn.gna.org/viewcvs/*checkout*/f ... ADME.msys2
So far msys2 environment has been mainly used for building Installer packages, and the documentation reflect that to some degree. In the development work it's possible to build just the freeciv program binaries, and do it incrementally instead of making every build from scratch, and run those binaries inside the environment without need to do any installation steps.