# Setting up Cygwin for FORTE Development

## Install Cygwin

In Windows, Cygwin provides the necessary tools and libraries for building and debugging. Download Cygwin, consider that there should not be any blanks in the folder names of the installation. Follow the instructions of the installation wizard and choose at least the following packages:

- make
- gcc (binutils)
- gdb

## Set Environment Variables

Press Windows Key + Pause. In the System window, click Advanced System Settings → Advanced (tab) → Environment Variables. Select the PATH variable and add the folder where Cywgwin is, e.g. C:\cygwin\bin.

## Test Cygwin

Open command prompt window by pressing Windows button and entering cmd. Enter bash. If bash prompt appears, then it was successful. To end Cygwin enter exit , enter exit again to end command prompt.

## CMake and Compilation

In step 2 of Generate files for compiling, you have to select Unix Makefiles when working with Cygwin. The architecture option needs to be set to Posix.

To compile forte, you do

$ cd FORTE_FOLDER_ROOT/bin/[YOUR_SYSTEM] $ make

# Where to go from here?

Now that you installed the required tools, it's time to start using them. Take a look at the following page:

Step by step tutorial

If you want to compile FORTE for another platform or want to know more about that, here's a quick link back:

Install 4DIAC

If you want to go back to the Start Here page, we leave you here a fast access

Start Here page

Or Go to top