This document describes how to install TFEL/MFront on Windows plateform in the MSYS2 environment.
MSYS2 and the mandatory
prerequisitesMSYS2MSYS2 is a
collection of GNU utilities, in particular make which is
used by MFront. It also provides a convenient shell which
is far more easier to use than the DOS terminal provided by
the cmd command.
To build TFEL, one may need to install the following
tools:
$ pacman -S base-devel gcc cmake$ pacman -S mingw-w64-x86_64-tfelTFELgit may be required if you want to work on the
development branch:
$ pacman -S gitCompiling TFEL is merely a simple as opening a new
MSYS2 session and following the instructions given on the
main installation page.
For example:
$ cmake [path to TFEL sources] [options]
$ make$ source env.sh
$ make checkOnce done, mfront can be used as “usual” (like in Posix environments)
in MSYS2.