This MSI package provides a 64-bit version of GnuCobol 3.2 compiled with and targeting GCC 13.1 under the MSYS2-UCRT64 environment.
pacman -S mingw-w64-ucrt-x86_64-gcc), and optionally
pacman -S mingw-w64-ucrt-x86_64-gdb)
The installer updates the
PATH environment variable so that the compiler
cobc.exe) can be called without giving its full path. However, if any
terminal remains open during installation, then no terminal (currently
running or newly started) will be made aware of the changes to the
variable untill all terminals are first closed.
You can check GnuCOBOL is correctly installed by opening
a regular terminal (
cmd.exe), and typing:
This should dump GnuCOBOL’s configuration.
You may also try compiling and executing the following “Hello World” program:
DISPLAY "Hello World"
Compile and run with:
cobc -x hello.cob
This should display