Skip to content

Setup Windows

tajmone edited this page Apr 28, 2019 · 5 revisions

Guidelines on how to setup MS Windows OS to build Alan.


Table of Contents


Cygwin vs MSYS2 vs WSL

Currently the official way to build the Alan project on Windows is via Cygwin only, but Makefiles for MSYS2 are now also available (although some dependencies are missing). I'm also looking into exploiting WSL (Windows Subsystem for Linux) for building Alan by bridging Windows and Linux tools.

You'll find a dedicated Wiki page for each setup method:

The rest of this page will be dedicated to reviewing the required dependencies, which are common to all systems.

A Word of Warning

Overall, setting up Windows for the Alan project, with all the third party tools, requires some complicate steps, partly due to the requirements of some very old third party tools, and partly to the lack of clear setup guidelines in the project.

Although it might be reasonable to expect that contributors to Alan (which is a programming language) would have enough skills and experience to deal with such problems, on the other hand easier access to the project would incentivate active contributions in various areas of the project, or building third party tools which might require accessing part of its source code.

Project Dependencies

CGreen

To install CGreen under Cygwin, use the cgreen-cygport script:

CVS

I'm not quite sure why the SETUP file mentions installing CVS, since Alan is hosted via Git. Either these instructions refer to older versions of Alan (stored elsewhere) or Cygwin might require CVS to setup some dependencies.

Clone this wiki locally