This document describes how to install TFEL/MFront on Windows plateform in the MSYS2 environment.

Installing MSYS2 and the mandatory prerequisites

Installing MSYS2

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.

Installing a minimal build environment

To build TFEL, one may need to install the following tools:

$ pacman -S base-devel gcc cmake

Installing the official package

$ pacman -S mingw-w64-x86_64-tfel

Compiling 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

Running the tests

$ source env.sh
$ make check

Usage

Once done, mfront can be used as “usual” (like in Posix environments) in MSYS2.