Installing Chicken 5.0 on MSYS2

Install and update 64-bit MSYS2 by following the instructions on the web site:

https://msys2.github.io

Start the shell using "MSYS2 MinGW 64-bit" shortcut from the Windows Start menu.

Install the necessary dependencies:

pacman -S mingw-w64-cross-toolchain base-devel mingw-w64-x86_64-gcc winpty

Build and install Chicken:

tar xf chicken-5.0.0.tar.gz; cd chicken-5.0.0
make PLATFORM=mingw-msys PREFIX=C:/msys64/usr/local/
make PLATFORM=mingw-msys PREFIX=C:/msys64/usr/local/ install

Note that the "C:" and forward slashes are mandatory!

You will need to run csi through winpty:

winpty csi

Installing Chicken 4.11 on MSYS2

Set this environment variable in the Windows Control Panel:

CHICKEN_PREFIX=C:\msys64\usr\local\
CHICKEN_REPOSITORY=C:\msys64\usr\local\lib\chicken\8\

Install 64-bit MSYS2, launch bash using the MingW64 shell:

https://msys2.github.io

To reiterate, be certain you run the correct shell. IE, you will run:

C:\msys64\mingw64_shell.bat

Install the necessary dependencies:

pacman -Sy
pacman -S mingw-w64-cross-toolchain base-devel mingw-w64-x86_64-gcc winpty

Build and install Chicken:

tar xf chicken-4.11.0.tar.gz; cd chicken-4.11.0
make PLATFORM=mingw-msys
make PLATFORM=mingw-msys install

You will need to run csi through winpty:

winpty csi