This MSI package provides a 64-bit version of GnuCobol 3.2 compiled with Microsoft Visual C++ 2022.
You can check GnuCOBOL is correctly installed by opening
a regular command line (cmd.exe
), and typing:
cobc --info
This should dump GnuCOBOL’s configuration.
You may also try compiling and executing the following “Hello World” program:
IDENTIFICATION DIVISION.
PROGRAM-ID. hello.
PROCEDURE DIVISION.
DISPLAY "Hello World"
STOP RUN.
Compile and run with:
cobc -x hello.cob
hello
This should display Hello World
.