Path to this page:
Subject: CVS commit: pkgsrc/lang/opencobol
From: Roland Illig
Date: 2007-01-06 21:22:11
Message id: 20070106202211.C4C20211CA@cvs.netbsd.org
Log Message:
Updated opencobol to 0.32.
* Changes in OpenCOBOL 0.31
** Stability update - See individual ChangeLogs
** New driver program - "cobcrun"
This allows all application programs to be compiled as
modules and driven by "cobcrun" similar to MF's "cobrun".
Syntax - cobcrun <MAINPROG> [Arguments to program "MAINPROG"]
As "cobcrun" is linked with the static version of Open Cobol
libraries, it is easier to maintain concurrent versions on the
same system.
-----------------------------------------------------------------------
* Changes in OpenCOBOL 0.30
** Installation changes
*** No longer use readline.
*** No longer use run-time configuration file (libcob.conf)
*** libdb is now optional.
Use the new configure option --with-db1 to link with libdb1.
Use the new configure option --with-db to link with libdb.
Otherwise, libdb will not be linked, and indexed files and
SORT/MERGE statements will not work.
*** New subdirectory `config' will be installed under
$prefix/share/open-cobol.
** Compatibility changes
*** New -std options:
default used when you omit -std
cobol85 COBOL 85 Standard
cobol2002 COBOL 2002 Standard
ibm IBM COBOL compatibility
mf Micro Focus COBOL compatibility
v023 OpenCOBOL 0.23 compatibility
*** Compile-time options can be stored in a "config" file.
See config/default.conf for details.
*** Binary data items are now big endian.
The config option `binary-byteorder' controls this.
*** Numeric sign of USAGE DISPLAY items has been changed as follows:
Positive: 0123456789 Negative: pqrstuvwxy
The config option `display-sign' controls this.
*** Data items defined in the working-storage section are
initialized at the beginning of program by default.
The config option `auto-initialize' controls this.
*** SORT statement now creates a temporary file in /tmp for sorting
and removes it after sorting.
** Feature changes
*** COPY statements try to complement the following file extensions:
.CBL, .COB, .cbl, or .cob.
*** COPY / REPLACE statements are reimplemented for better replacement.
*** SPECIAL-NAMES. FORMFEED IS ...
*** ALPHABET ... IS EBCDIC.
*** EXTERNAL clause.
*** SHARING clause.
*** USAGE COMP-5 and COMP-X.
*** USAGE POINTER and ADDRESS OF operator.
*** LENGTH OF operator.
*** PROCEDURE DIVISION USING BY REFERENCE/CONTENT/VALUE.
*** DISPLAY ... ENVIRONMENT-NAME. ACCEPT ... ENVIRONMENT-VALUE.
*** COLLATING SEQUENCE in the SORT and MERGE statements.
*** EXIT PERFORM [CYCLE] statement.
*** SORT table.
*** OPEN ... WITH NO REWIND / WITH LOCK recognized, though not working.
*** Literal concatenation (the `&' operator).
** Compiler changes
*** New compiler environment variable TMPDIR.
*** New compiler environment variable COB_LDFLAGS.
*** The runtime environment variable COB_CONFIG_FILE has been removed.
*** New runtime environment variable COB_DYNAMIC_RELOADING.
*** New compiler option `--list-reserved', which list all reserved words.
*** New compiler option `-conf', which specifies the config file.
*** New compiler option `-ext', which specifies the copy file extension.
*** The compiler option `-O' now does C level optimization.
*** New compiler option `-O2', which does further C level optimization.
*** New compiler option `-L' and `-l', which are passed to the C compiler.
*** New compiler option `-ftrace', which display section names at run time.
*** New compiler option `-fsyntax-only', which does syntax error check
only without any output.
*** New compiler option `-fstatic-call', which is equivalent to `-static'.
*** New compiler option `-fdebugging-line', which enables debugging lines.
*** New compiler option `-fsource-location', which includes source location
in the output.
*** New compiler option `-fline-directive', which includes line directive
in the output.
*** New compiler option `-fruntime-inlining', which is the replacement
of obsolete options `-finline-move' and `-finline-get-int'.
*** New compiler option `-w', which inhibits warnings.
*** New compiler option `-Wredefinition', which warns redefined names.
*** The compiler options `-static' and `-dynamic' are obsolete.
*** The compiler option `-column' removed.
** Many improvement for compatibility.
** Many many bug fixes.
Files: