Arnold Trembley

This page was last updated Saturday, June 10th, 2017, for updates to the MinGW build guide draft, both PDF and ODT format.

For the last couple of years I have been working with GnuCOBOL (formerly OpenCOBOL), which appears to be the free COBOL compiler for Windows that I have been looking for. There will be links below for multiple versions of OpenCOBOL/GnuCOBOL, from 2009 through 2016.

Some time ago I built the GnuCOBOL 1.1 compiler (20JAN2014) using source code available from the GnuCOBOL/OpenCOBOL project on The compiler has been tested with the GnuCOBOL version of the NIST (National Institute of Standards and Technology) COBOL85 test suite and passes 9,011 out of 9,129 test cases. Please see the link below for a Windows installer for GnuCOBOL 1.1.

There are two versions of MinGW GnuCOBOL 2.0 Release Candidate 1 (14AUG2016). One is built with Berkeley Database and the other is built with VBISAM 2.0. Both versions have been updated with Gnu licensing information and additional documentation, and they may downloaded below. And I have recently built newer versions of them to include upgrades to gmplib (Gnu Multi-precision arithmetic) and BDB. The newest versions are compressed into much smaller download files.

There are also three versions of MinGW GnuCOBOL 2.0 Release Candidate 2 (06NOV2016). One is built with Berkeley Database (BDB), one with no Indexed Sequential file access support, and one built with VBISAM2 support. Some people may find the Berkeley Database Oracle license too restrictive. All versions are are compressed into much smaller download files.

For anyone who would like to build the GnuCOBOL 2.0 Release Candidate 2 compiler using MinGW (Minimalist Gnu for Windows), there is a draft build guide in both PDF format and LibreOffice ODT format (which can be edited with MS Word or OpenOffice Writer). MinGW is a minimal unix-type environment for building the GnuCOBOL compiler using GCC (the Gnu Compiler Collection). the generated GnuCOBOL 2.0 compiler runs in a normal CMD.EXE window, and has a version of GCC embedded in it. The Compiler translates COBOL source code in C, which is then compiled using GCC.

There is also a link to OpenCOBOLIDE, which is a free GUI Interactive Development Environment (IDE) for OpenCOBOL/GnuCOBOL written in Python, for Linux, Windows, and Mac OSX. The Windows installer includes GnuCOBOL 2.0 Release Candidate 2 in addition to the IDE. This is probably the quickest way to install a working COBOL compiler for Windows. You can also change the Preferences in "OpenCOBOLIDE" to use an alternate version of GnuCOBOL.