Installing Chicken 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