Domain: opencobol.org
Stories and comments across the archive that link to opencobol.org.
Comments · 9
-
Free Cobol compiler
If you want to play with a free compiler, try OpenCOBOL at http://www.opencobol.org/.
There is a list of other free COBOL compilers at http://mainframewizard.com/content/free-cobol-compilers but some of them look pretty old.
-
not even C?From the homepage of OpenCOBOL:
OpenCOBOL translates COBOL into C and compiles the translated code using the native C compiler. You can build your COBOL programs on various platforms, including Unix/Linux, Mac OS X, and Microsoft Windows.
So would that be COBOL running on C?
-
Re:I've seen it all.
I wish I had COBOL for Linux
Looks like it's still a work in progress, but: http://www.opencobol.org/
-
Re:Stereotyping?
I, too, was hoping for an update on OpenCOBOL
-
OpenCOBOL is out there, and it's free too.
I'm in the middle of porting an accounting system that's currently Cobol-based, and running on an RS6000/AIX, to Linux using OpenCOBOL . OpenCOBOL is GPL'ed too. The machine hardware I'm porting to is an HP Proliant DL380 and the distro is Red Hat Enterprise 5 64-bits. So far everything is going great. I'm not even a Cobol programmer, and had to alter very little of the application source code to compile and run under OpenCOBOL on Linux, mostly just some raw unix file I/O code, and it took me less than a day to learn enough Cobol to fix the source code and recompile it to work under Linux.
-
OpenCOBOL on Linux
Cobol apps from mainframes easily runs on Linux when you just simply recompile using the free, open source, GPL'ed OpenCobol compiler. I've moved a bunch of old IBM mainframe cobol stuff to Linux with OpenCOBOL and so far, I've run into very few issues, none of which weren't solvable with a minimal amount of code changes.
OpenCOBOL also works great if you have any Oracle Cobol apps (that used the Oracle Pro*Cobol precompiler). I'm in the middle of moving a bunch of Cobol-on-Oracle stuff from an old RS/6000 AIX box to 64-bit Linux right now. I'm using Oracle's free "Oracle Enterprise Linux" which is basically a repackaged RHEL distro, and you can even buy formal support contract from Oracle for OEL. So far everything is working out great. The commodity hardware (HP Proliant DL580) server costs a mere fraction of what a new AIX box of comparable power would've cost, and I'm also benefiting from Oracle's free Virtual Server stuff (Xen-based) so I've got the functional equivalent of IBM's LPAR virtual machine technology going on commodity hardware with 10 times the speed, and 1/10th the hardware cost.
-
Re:How do people learn it?
$apt-cache search cobol
src2tex - A converter from source program files to TeX format files
exuberant-ctags - build tag file indexes of source code definitions
libcob1 - COBOL compiler - runtime library
libcob1-dev - COBOL compiler - development files
open-cobol - COBOL compiler
robodoc - source code documentation tool
sloccount - programs for counting physical source lines of code (SLOC)
$apt-cache show libcob1
Package: libcob1
Priority: optional
Section: libs
Installed-Size: 216
Maintainer: Bart Martens
Architecture: i386
Source: open-cobol
Version: 1.0-1
Depends: libc6 (>= 2.7-1), libdb4.5 (>= 4.5.20-3), libgmp3c2, libncurses5 (>= 5.6+20071006-3)
Filename: pool/main/o/open-cobol/libcob1_1.0-1_i386.deb
Size: 76034
MD5sum: c269edbbf49cf8b1db508d597dc32ca4
SHA1: 62234e015a5b1f1e9c387994a7b03758338d8248
SHA256: 4ec17c66f1cba57dcec4090242c77a7d824dc2f3509d62e746bd37fde7968567
Description: COBOL compiler - runtime library
This package contains the runtime library for open-cobol.
Homepage: http://www.opencobol.org/
Tag: role::shared-lib, uitoolkit::ncurses -
open source COBOL
I am surprised no one has found this: http://www.opencobol.org/
-
Re:But it is modern!
It has probably already been posted but I haven't noticed the open source COBOL compilers that already exist so here are a couple of free Cobol compilers that I've played with.
Cobol for GCC http://cobolforgcc.sourceforge.net/ is dead
Tiny Cobol http://tiny-cobol.sourceforge.net/index.php last release was in 2005
OpenCobol http://www.opencobol.org/ Still has one developer working on it.
I like the OpenCOBOL the best, it takes your COBOL code, converts it to C, then compiles it using GCC. You might be able to kick start your project by looking at what these guys have done.