Commit graph

6 commits

Author SHA1 Message Date
adam
271d1cb9f8 Changes 1.0:
* New compile option '-x'. This causes the compiler to produce an
  executable program. '-fmain' is deprecated.
* Remove long option --verbose. Use '-v' for verbosity. Problem is
  with getopt_long_only which does not like eg. -mv
* New conformity option -std=bs2000.
* FUNCTION is implemented. See cobc/reserved.c for a list of what is
  implemented.
* Nested programs are partially supported.
* LINAGE is implemented.
* EXTERNAL on FD is implemented.
* SAME RECORD AREA is implemented.
* New config variables -
* Support for non-gcc compilers.
* Large file support, system dynamic loading and Berkeley DB inclusion
  are default for the configure.
* New configure option --with-patch-level=<n>
* At run time, version checking is done. ie. When executing/loading
  Cobol programs, the version (eg. 0.33) and the patch level (eg. 0)
  are checked against the OC library version/patch level.
* Libtool is not required for systems that support native dynamic
  loading. This includes Linux, Cygwin and MingW amongst others.
* Note to developers : See README for required software versions.
2010-06-02 12:38:29 +00:00
rillig
30b65aff50 Added support for BDB185_DEFAULT=db4, from David A. Holland, via PR 35417. 2007-01-14 15:19:04 +00:00
rillig
f9389a72d2 After a first test, it was obvious that the compiler needs the -Wl,-R
flag to find libcob when linking programs.
2007-01-06 20:45:45 +00:00
rillig
162342682e 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.
2007-01-06 20:22:11 +00:00
jlam
223ded5830 * Move info file entrise to PLIST.
* Remove patch-ac which patched the Makefile to install the example config
  file into the examples directory and replace with an appropriate
  INSTALL_MAKE_FLAGS setting.

* Remove SUBST_FILES setting and replace with a patch.  This will make
  merges with future updates easier.

* Fix the location of the example configuration file to match where it's
  actually installed.  Now, the file will actually be copied over during
  POST-INSTALL.
2006-04-04 19:21:39 +00:00
xtraeme
72fba00353 Initial import of opencobol-0.23.
OpenCOBOL is an open-source COBOL compiler, which translates COBOL
programs to C code and compiles it using GCC.
2004-06-29 02:57:36 +00:00