Hi ports@,

Here is a new port, for the latest version of GnuCOBOL (2.2), which was
previously called OpenCOBOL.

We have lang/open-cobol in ports, so I added conflict markers and the idea
is to remove it once this one goes in.

I bumped SHARED_LIBS major as functions were added and removed from libcob.

Here is an "Hello World!" program in COBOL to make testing easier:

       IDENTIFICATION DIVISION.
       PROGRAM-ID. hello.
       PROCEDURE DIVISION.
       DISPLAY "Hello World!".
       STOP RUN.

Save this into hello.cob and run: cobc -x hello.cob

>From DESCR:

GnuCOBOL is a free COBOL compiler, formerly known as OpenCOBOL.

It implements a substantial part of the COBOL 85, COBOL 2002 and COBOL 2014
standards, as well as many extensions included in other COBOL compilers.

GnuCOBOL translates COBOL into C and compiles the translated code using the
native C compiler.

Comments? OK?

Attachment: gnucobol.tar.gz
Description: application/tar-gz

Reply via email to