OpenCOBOL
Home
Status
Mailing List
Project Summary

Documentation
User Manual

Development
CVS Repository
GCC COBOL

Hosted by
SourceForge Logo

GCC COBOL

This is an experimental implementation of a COBOL frontend for GCC:

How to install

  1. Install OpenCOBOL 0.12.

    See http://www.open-cobol.org/ for details.

  2. Check out the source code of GCC 3.3 (branch gcc-3_3-branch) from the CVS repository.

    See http://gcc.gnu.org/cvs.html for details.

  3. Uncompress the COBOL frontend "gcc-cobol-x.x.tar.gz".

    A subdirectory named `cobol' will be created. Move `cobol' into GCC's source directory `${GCC}/gcc/', where ${GCC} is the top directory of GCC's source tree.

  4. Create a build directory for GCC. Build GCC like this:

         ${GCC}/configure --enable-languages="c cobol"
         make bootstrap
    

    See http://gcc.gnu.org/install/ for details.

  5. Two binaries `gcc/gcb' and `gcc/cobc1' will be there. Install them in anywhere you want.