SuperBOL - COBOL modernisation

Install GnuCOBOL on Windows

Our all-in-one installer is the simplest way to install GnuCOBOL on Windows: it contains GnuCOBOL and other related tools, together with a C compiler.

Installer contents

These MSI packages provide an "all-in-one" installer for the following software:

  • GnuCOBOL 3.2+ (r5686) or GnuCOBOL 4.0+ (r5627), depending on the chosen version (Berkeley DB 6.2.32, libxml2 2.15.3, cJSON 1.7.19, GMP 6.3.0, ncursesw 6.6)
  • GCSORT 1.04.11
  • GixSQL 1.0.20b
  • MinGW/GCC 13.2
  • GDB 11.2

Requirements

  • Windows 7 (64-bit) or above

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 new value of PATH until all terminals are first closed.

Download the installer

GnuCOBOL 3.2 (stable)

Version 20260722: gnucobol-3.2-aio-20260722.msi

  • Update GnuCOBOL 3.2+ to revision r5686
  • Update GCSORT from version 1.04.00 to version 1.04.11
  • Single installer for user and machine installations

GnuCOBOL 4.0-alpha

Version 20260722: gnucobol-4.0-aio-20260722.msi

  • Initial release (GnuCOBOL 4.0+ r5627)

Previous versions of the installer are available on GitHub.

Test the installation

You can check that GnuCOBOL is correctly installed by running the following command in a terminal (cmd.exe):

cobc --info

This command displays GnuCOBOL's configuration.

You may also try compiling the following program:

       IDENTIFICATION DIVISION.
       PROGRAM-ID. hello.
       PROCEDURE DIVISION.
           DISPLAY "Hello World"
           STOP RUN.

Compile and run it as follows:

cobc -x hello.cob
hello

This should display the text Hello World.

Select a different GCC compiler

If you need to use a GCC compiler other than the one included in this package, you can use the gc-config tool to change the GCC compiler used by GnuCOBOL.

Need help with your code?

Our experts, among the main contributors to GnuCOBOL, audit your programs and support you through the implementation.

Request an audit

Modernise your COBOL codebase with SuperBOL

From proof of concept to industrial-scale production deployment, get support from one of the main contributors to GnuCOBOL.

The SuperBOL logo

Download our logo in the version suited to your background.

Need another format? Contact us.