GnuCOBOL 3.2 All-in-One for Windows
Package description
These MSI packages provide an “all-in-one” installation for the following products:
- GnuCobol 3.2 (Berkeley DB 6.0.19, libxml2 2.12.3, cJSON 1.7.17, GMP 6.3.0, ncursesw 6.4)
- GCSORT 1.03.09
- GixSQL 1.0.20b
- MinGW/GCC 13.2
- GDB 11.2
Select the appropriate package depending on the type of installation you wish to perform: either a user installation in your local profile (no privileges required), or a machine installation available to all users (requires administration privileges).
Requirements
- Windows 7 (64-bit) or above
Important remark
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 PATH
variable until all terminals are first closed.
Testing installation
You can check GnuCOBOL is correctly installed by opening
a regular terminal (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
.
Selecting a different GCC compiler
If you need to use a GCC compiler other than the one included in this package,
you can use the tool gc-config
to change the GCC compiler used by GnuCOBOL.
Download links
Current release
- User installer: gnucobol-3.2-aio-20240402-user.msi
- Machine installer: gnucobol-3.2-aio-20240402-machine.msi
Previous releases
User installers
gnucobol-3.2-aio-20240306-user.msi
Machine installers
gnucobol-3.2-aio-20240306-machine.msi gnucobol-3.2-aio-20240213.msi
Changelog
Release 20240402
- Add missing gmp.h include file
Release 20240306
- Add a user installer to allow installation without administration privileges
- Update the
gc-config
tool to make it easier to switch from user configuration to machine configuration
Release 20240213
- Initial release