This document describes how to install TFEL/MFront
on Windows plateform in the MSYS2
environment.
MSYS2
and the mandatory
prerequisitesMSYS2
MSYS2
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-tfel
TFEL
git
may be required if you want to work on the
development branch:
$ pacman -S git
Compiling 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 check
Once done, mfront can be used as “usual” (like in Posix environments)
in MSYS2
.