GnuCOBOL (formerly OpenCOBOL) is a free COBOL compiler. cobc translates COBOL source to executable using intermediate C, designated C compiler and linker.
OpenCOBOL 1.1 became GNU Cobol 1.1 in 2013. Official releases at ftp://ftp.gnu.org/gnu/gnucobol
GnuCOBOL 2.0 is on its way to pre-release. All versions, old and new, hosted here.
A programmer's guide, by Gary Cutler, and other documentation is indexed at http://opencobol.add1tocobol.com/guides
OpenCOBOL was written by Keisuke Nishida and Roger While, from 2001 to 2012.
GnuCOBOL is also authored by Simon Sobisch, Sergey Kashyrin, and Ron Norman.
Others listed in AUTHORS.
Copyright 2001-2015 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the FSF; either version 3, or (at your option) any later version.
The libcob run time support source tree is licensed LGPL.
- A nicely complete implementation of COBOL with nearly seamless C integration
- Over 9700 NIST COBOL 85 test suite tests passed, over 500 internal checks
- Direct access to almost all C libraries, and even more with the C++ base
- Compiler built with GNU Autotools, also successfully builds with LLVM clang
- CGI capable and desktop ready, GTK+ screens have been demonstrated
- EXEC SQL preprocessors available for PostgreSQL, Firebird, ODBC, DB2
- REPORT SECTION, SCREEN SECTION, FUNCTION-ID support
- ASCII, EBCDIC, little endian, big endian. A build published for z/OS OMVS/USS
- Compiler messages translated; english, spanish, japanese, more to come
- Almost full support of the COBOL 2014 Compiler Directing Facility feature set
Really powerful !
Wow, such a fantastic product! I don't know how commercial COBOL solutions can even think they can stay in business with their archaic licensing fees! I ported our product from a commercial compiler platform in less than 30 minutes and it's working flawlessly under GnuCOBOL. You owe it to yourself to check this product out. It does not disappoint.
A well-written compiler for a very underrated if long-in-the-tooth language. A fine support community.
This is what COBOL needs.. A new system not requiring a main frame. COBOL needs to be ported to the PC environment. This gives access to COBOL on a lower budget.
In many cases the GNU Cobol will become a valid replacement for proprietary (and thus expensive) software development platforms (got much experience with other UNIX, VMS and Mainframe based products). It has got a high priority for me, and my new software development projects are being considered to be managed with GNU Cobol.