You can see all that M$ has to offer in the
Express area. Or just skip right to the
Visual C/C++ Express download
CAUTION!
When your get to the download page, Read carefully, the first "Install Now" may not be what you want!
Visual C/C++ Install:
Installing OpenCOBOL
To look at the available OpenCOBOL binaries, Go Here:
Go Here
Or go Directly to the Windows OpenCOBOL Download,
32bit
or
64bit
When the download is complete, Goto your Downloads folder, look for something like "opencobol-1.1-win-vb-(win32/amd64)-bin.zip"
TO TEST ENTER THE FOLLOWING COMMANDS:
cd C:\OpenCobol
call "C:\Program Files\Microsoft Visual Studio10.0\VC\bin\vcvars32.bat"
IDENTIFICATION DIVISION.
PROGRAM-ID. TEST.
PROCEDURE DIVISION.
DISPLAY "HELLO WORLD".
STOP RUN.
cobc -x -free TEST.CBL
TEST.exe
HELLO WORLD
There more config issues, settings and so on, but this a the quick start version. Look at the output from "cobc -h" for information.
AFAIK OpenCOBOL Windows binaries have been pre-built using Visual Studio 2008,
and they will work in a VS2010 environment, however I would also recommend looking at the Windows OC source
Windows, and multi-platform sounds like a contradiction. So, yeah, this software only runs on Windows. However, it makes use of Telnet, ftp, and custom HP3000 protocols to connect to other servers.
Using these protocols you can edit, and compile source files remotely, on many different platforms using many different languages. It is and excelent tool for Client-Server projects.
Installing on *nix is the standard *nix method: The “configure” will interogate
your system, and build the correct Makefile. Configue will also tell you about any missing required/optional dependencies.
If required dependencies are missing then the Makefile will not be created.
Then you can use yum or apt-get, or the standard (configure & make) to install the dependency.
I've found that embedding a script interpreter into Cobol and other languages also, like C/C++, Fortran and Pascal to be a very powerful tool,
there are multiple scripting language that lend themselves to being
embedded, I use Tcl, it was design to do this. You can get (I don't) a pro/supported version of
Tcl from ActiveState, http://www.activestate.com/activetcl
or if you're like me, you can find Windows installation at
sourceforge, and roll-your-our.
Tcl is
Opensource and freely distributable.
Below is a
simple
GNU-Linux example using
COBOL, and embedded Tcl to retrieve an HTML resource from the Web
using the Tcl http package. I think
retrieving the latest lottery results makes a easily understood
example. However I've used this same method get software updates and
to automate software registration. I've done
similar and more advanced COBOL/Tcl on Windows, and HPUX. With little
to no effort I could run this on Windows, or any of the many
Platforms where OpenCobol and Tcl/Tk will run.
From COBOL: here is the basic flow.