summaryrefslogtreecommitdiff
path: root/lang/gnucobol
AgeCommit message (Collapse)AuthorFilesLines
2020-05-23lang/gnucobol: remove unknown configure optionsrillig1-3/+1
2017-12-17Update to 2.2ryoon4-69/+58
* Change PKGNAME as a name of tarball Changelog: GnuCOBOL 2.2 released (20170906) * Move to GPL/LGPL 3 * New GnuCOBOL features (too much to list) ** User Defined Functions, FUNCTION-ID. ** New intrinsic functions ABSOLUTE-VALUE alias for ABS CURRENCY-SYMBOL CURRENCY-SYMBOL of the current program FORMATTED-CURRENT-DATE ISO 8601 datetime function FORMATTED-DATE ISO 8601 datetime function FORMATTED-DATETIME ISO 8601 datetime function FORMATTED-TIME ISO 8601 datetime function TEST-FORMATTED-DATETIME ISO 8601 datetime function INTEGER-OF-FORMATTED-DATE date to integer HIGHEST-ALGEBRAIC now implemented LOWEST-ALGEBRAIC now implemented LOCALE-COMPARE now implemented NUMVAL-F now implemented TEST-NUMVAL now implemented TEST-NUMVAL-C now implemented TEST-NUMVAL-F now implemented LENGTH-AN alias for BYTE-LENGTH MODULE-CALLER-ID return the name of the caller MODULE-DATE current module: compilation date MODULE-TIME current module: compilation time MODULE-FORMATTED-DATE current module: formatted datetime MODULE-ID current module: PROGRAM-ID MODULE-PATH current module: path on compile time MODULE-SOURCE current module: name on compile time MONETARY-DECIMAL-POINT LOCALE based fiscal decimal point MONETARY-THOUSANDS-SEPARATOR LOCALE based fiscal visual grouping separator Note: The functions that are actually available as intrinsic functions depend on the -std used. Function names that aren't marked as intrinsic functions by the current -std can be used freely as user defined words or even as user defined functions. ** New system functions C$CALLEDBY return the name of the caller CBL_GC_FORK fork current process (not on Windows) CBL_GC_WAITPID wait for process to end CBL_GC_GETOPT (CBL_OC_GETOPT) comand lineoption parser for COBOL CBL_GC_PRINTABLE (C$PRINTABLE) check if character is printable CBL_GC_HOSTED (CBL_OC_HOSTED) provides access to C extern variables, like stdin, errno CBL_GC_NANOSLEEP CBL_OC_NANOSLEEP CBL_GET_SCR_SIZE get current terminal size - if any CBL_READ_KBD_CHAR get character from terminal CBL_SET_CSR_POS set current position on terminal x'E4' clear terminal screen x'E5' ring the bell ** many new / extended COBOL statements from COBOL2002/2014 and extensions from different COBOL dialects ** more SWITCHes: from SWITCH-01 to SWITCH-36 and its variants from many COBOL dialects ** more IEEE numeric types added, FLOAT-DECIMAL-16, FLOAT-DECIMAL-34, etc ** more literal types added, numeric boolean etc. ** most of the COBOL 2014 spec Compiler Directive Facility is in ** optional: stricter syntax checks ** refactored and extended compiler and runtime messages with available translations (currently to Spanish, Portuguese and Dutch, partial to German) ** screen IO: many extended ACCEPT DISPLAY and SCREEN SECTION changes ** Direct call interface for C: CALL-CONVENTIONS for CALLs and PROCEDURE DIVISION SIZE of parameters specified for CALL ... BY VALUE RETURN NOTHING for calling void functions RETURN ADDRESS OF VAR for calling functions returning a pointer PROCEDURE DIVISION RETURNING OMITTED -> callable as void function ** Much, much more! * New cobc options: ** New -std options: cobol2014 COBOL 2014 Standard xopen X/Open COBOL Standard mf-strict Micro Focus COBOL compatibility - strict ibm-strict IBM COBOL compatibility - strict ibm-strict MVS/VM COBOL compatibility - strict acu ACUCOBOL-GT compatibility acu-strict ACUCOBOL-GT compatibility - strict bs2000 BS2000 COBOL compatibility (back again) bs2000-strict BS2000 COBOL compatibility - strict rm RM-COBOL compatibility rm-strict RM-COBOL compatibility - strict Note: The GnuCOBOL compiler tries to limit both the feature-set and reserved words to the specified compiler when the "strict" dialects are used. COBOL sources compiled with these dialects are therefore likely to compile with the specified compiler and vice versa: sources that were compiled on the specified compiler should compile without any issues with GnuCOBOL. With the "non-strict" dialects GnuCOBOL will activate the complete feature-set where it doesn't directly conflict with the specified dialect, including reserved words and GnuCOBOL specific extensions. COBOL sources compiled with these dialects therefore may work only with GnuCOBOL. COBOL sources may need a change because of rich feature-set and reserved words in GnuCOBOL, otherwise offending words may be removed by `-fno-reserved=word`. COBOL-85, X/Open COBOL, COBOL 2002 and COBOL 2014 are always "strict". ** New listing options: -t listing, -T wide listing, --tlines=lines, lines per page of listing -Xref Note: -P, generate preprocessor listing, is still available (and improved) ** All compiler configuration flags may be set on command line to override a specific setting of the current -std, see cobc --help ** All Warnings can be explicit enabled/disabled or even marked as error, see cobc --help -Wunreachable report on possible unreachable statements ** Options for the C compiler/linker: -K <entry>, compile entry point as static (resolve at link time) -A, add options to C compile phase -Q, add options to C link phase ** Miscellaneous -i -info, display build/environment -D define symbol for Compiler Directive Facility -j -job=args, run job after compile input filename of '-' reads source from standard in For more: see cobc --help * New cobcrun options: -i -info, display build/environment -r -runtime-env, display runtime configuration -c -config, set runtime config from file -M -module, set path/module name when looking for entry * New build features make test downloads NIST testsuite if necessary now usable with parallel builds (make -j4 test) make checkall runs both the internal an NIST testsuite ** testsuite defaults to coloured output ** Windows(tm) Visual Studio build support files added, options to validate the software generated with VS against both test suites ** removed maintainer mode - if files need a rebuild because of a change they are always rebuild ** help2man, bison and flex are checked during configure, if they need to be invoked and are missing a useful error message is given ** All files created by GnuCOBOL runtime use the same file permission settings now: COB_FILE_MODE which was changed to 0666 ** changed unix package name from "gnu-cobol" to "gnucobol"
2017-01-05Use the curses framework.roy1-2/+2
2016-10-15Update to 2.0rc1wen4-33/+32
Add LICENSE Upstream changes: * 20160813 GnuCOBOL 2.0rc1 ** User Defined Functions ** New cobc options: *** -t listing, -T wide listing, --tlines=lines, lines per page of listing *** -K <entry>, entry point compile static *** -i -info, display build/environment *** -j -job=args, run job after compile *** -P, generate preprocessor listing *** -Xref, generate cross reference (requires cobxref) *** -A, add options to C compile phase *** -Q, add options to C link phase *** -D define symbol for Compiler Directive Facility *** -f<tag>=value override .conf configuration setting *** -list-reserved, -list-intrinsics, -list-mnemonics, -list-system *** -W enable ALL warnings (more than -Wall, which excludes some) *** -Wunreachable report on unreachable statements *** -Wprototypes warn missing FUNCTION prototypes/definitions *** -fmfcomment * or / in column 1 as comment *** -facucomment $ in idicator area treated as *, | treated as *> *** Many compiler messaging changes, refactored for translation *** input filename of '-' reads source from standard in *** New -std=cobol2014 *** new configuration settings **** call-overflow, literal-length, numeric-literal-length **** specify-reserved-words ** New cobcrun options: *** -i -info, display build/environment *** -r -runtime-env, display runtime configuration *** -c -config, set runtime config from file *** -M -module, set path/module name when looking for entry ** New build features *** coloured textsuite output *** Windows(tm) Visual Studio build support files added to source tree ** New GnuCOBOL features *** User Defined Functions, FUNCTION-ID. *** Most of the COBOL 2014 spec Compiler Directive Facility is in *** Spanish and Dutch messages along with English and Japanese *** More C/C++ reserved words tested to avoid conflicts *** screen IO, many extended ACCEPT DISPLAY screen section changes *** stricter ordering of CONFIGURATION SECTION paragraphs *** PICTURE clause, more to COBOL 2014 spec *** ACCEPT OMITTED, waits for return/enter *** More Intrinsic Functions, including ISO 8601 FORMATTED-DATE and TIME *** Changes to INITIAL and RECURSIVE program handling, needs to improve more *** More IEEE numeric types added, FLOAT-DECIMAL-16, FLOAT-DECIMAL-34, etc *** More SWITCHes, from SWITCH-01 to SWITCH-36 *** TALLY special register predefined *** More literal types added, numeric boolean etc. *** Nested OCCURS DEPENDING ON (when proper config settings *** comment keywords in IDENTIFICATION DIVISION treated as end-of-line comments *** PROCEDURE DIVISION RETURNING OMITTED support matching void C functions *** New system functions **** CBL_OC_HOSTED - provides access to C extern variables, like stdin, errno *** More support for EC-exception codes *** SET LAST EXCEPTION TO OFF * All files created by GnuCOBOL runtime use the same file permission settings now: COB_FILE_MODE which was changed to 0666
2016-01-07Don't remove -g, especially when done badly, breaking -gfoo.jperkin2-3/+21
2015-11-03Add SHA512 digests for distfiles for lang categoryagc1-1/+2
Problems found with existing digests: Package nhc98 distfile nhc98src-1.22.tar.gz a8adc8f22371998ee0657bc0e01058a57d876abc [recorded] 81975fcb5f1dda5efeaabc30ce8c6dceae55e591 [calculated] Problems found locating distfiles: Package gcc-aux: missing distfile ada-bootstrap.i386.dragonfly.36A.tar.bz2 Package gcc-aux: missing distfile ada-bootstrap.i386.freebsd.84.tar.bz2 Package gcc-aux: missing distfile ada-bootstrap.x86_64.dragonfly.36A.tar.bz2 Package gcc-aux: missing distfile ada-bootstrap.x86_64.freebsd.84.tar.bz2 Package gcc-aux: missing distfile ada-bootstrap.x86_64.solaris.511.tar.bz2 Package gcc5-aux: missing distfile ada-bootstrap.i386.dragonfly.36A.tar.bz2 Package gcc5-aux: missing distfile ada-bootstrap.i386.freebsd.84.tar.bz2 Package gcc5-aux: missing distfile ada-bootstrap.x86_64.dragonfly.36A.tar.bz2 Package gcc5-aux: missing distfile ada-bootstrap.x86_64.freebsd.84.tar.bz2 Package gcc5-aux: missing distfile ada-bootstrap.x86_64.solaris.511.tar.bz2 Package ghc7: missing distfile ghc-7.6.3-boot-i386-unknown-freebsd.tar.xz Package icc11: missing distfile l_cproc_p_11.1.080.tgz Package jini: missing distfile jini-1_2_1_001-src.zip Package oo2c: missing distfile oo2c_32-2.0.11.tar.bz2 Package openjdk7: missing distfile openjdk7/bootstrap-jdk-1.7.76-freebsd-10-amd64-20150301.tar.xz Package openjdk7: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-5-i386-20150301.tar.xz Package openjdk7: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-6-i386-20150301.tar.xz Package openjdk7: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-7-earmv6hf-20150306.tar.xz Package openjdk7: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-7-sparc64-20150301.tar.xz Package openjdk7: missing distfile openjdk7/bootstrap-jdk7u60-bin-dragonfly-3.8-amd64-20140719.tar.bz2 Package openjdk8: missing distfile openjdk7/bootstrap-jdk-1.7.76-freebsd-10-amd64-20150301.tar.xz Package openjdk8: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-5-i386-20150301.tar.xz Package openjdk8: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-6-i386-20150301.tar.xz Package openjdk8: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-7-earmv6hf-20150306.tar.xz Package openjdk8: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-7-sparc64-20150301.tar.xz Package openjdk8: missing distfile openjdk7/bootstrap-jdk7u60-bin-dragonfly-3.8-amd64-20140719.tar.bz2 Package oracle-jdk8: missing distfile jdk-8u60-linux-i586.tar.gz Package oracle-jdk8: missing distfile jdk-8u60-solaris-x64.tar.gz Package oracle-jre8: missing distfile jre-8u60-linux-i586.tar.gz Package oracle-jre8: missing distfile jre-8u60-solaris-x64.tar.gz Package sun-jdk6: missing distfile jdk-6u45-linux-i586.bin Package sun-jdk6: missing distfile jdk-6u45-solaris-i586.sh Package sun-jdk7: missing distfile jdk-7u72-linux-i586.tar.gz Package sun-jdk7: missing distfile jdk-7u72-solaris-i586.tar.gz Package sun-jre6: missing distfile jce_policy-6.zip Package sun-jre6: missing distfile jre-6u45-linux-x64.bin Package sun-jre6: missing distfile jre-6u45-solaris-x64.sh Package sun-jre7: missing distfile jre-7u72-linux-i586.tar.gz Package sun-jre7: missing distfile jre-7u72-solaris-i586.tar.gz Otherwise, existing SHA1 digests verified and found to be the same on the machine holding the existing distfiles (morden). All existing SHA1 digests retained for now as an audit trail.
2015-08-18Bump all packages that depend on curses.bui* or terminfo.bui* since theywiz1-2/+2
might incur ncurses dependencies on some platforms, and ncurses just bumped its shlib. Some packages were bumped twice now, sorry for that.
2015-08-17Bump PKGREVISION for ncurses shlib bump.wiz1-1/+2
2015-07-01Import opencobol-2.0alpha1 as lang/gnucobol.ryoon5-0/+93
GnuCOBOL, formerly OpenCOBOL, is an open-source COBOL compiler, which translates COBOL programs to C code and compiles it using GCC.