{"id":19297344,"url":"https://github.com/opensourcecobol/opensource-cobol","last_synced_at":"2025-04-22T09:30:55.649Z","repository":{"id":11273256,"uuid":"13679579","full_name":"opensourcecobol/opensource-cobol","owner":"opensourcecobol","description":"\"opensource COBOL\" is open-source COBOL compiler, an extension of the Japan-specific features. \"opensource COBOL\" translates COBOL program to C code and compiles it using GCC or CL.","archived":false,"fork":false,"pushed_at":"2024-06-18T12:33:51.000Z","size":12827,"stargazers_count":68,"open_issues_count":14,"forks_count":28,"subscribers_count":25,"default_branch":"master","last_synced_at":"2024-06-18T14:47:50.767Z","etag":null,"topics":["c","cobol"],"latest_commit_sha":null,"homepage":"https://www.osscons.jp/osscobol/","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/opensourcecobol.png","metadata":{"files":{"readme":"README","changelog":"ChangeLog","contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-10-18T14:03:25.000Z","updated_at":"2024-06-11T13:31:02.000Z","dependencies_parsed_at":"2022-09-10T18:21:35.283Z","dependency_job_id":null,"html_url":"https://github.com/opensourcecobol/opensource-cobol","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opensourcecobol%2Fopensource-cobol","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opensourcecobol%2Fopensource-cobol/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opensourcecobol%2Fopensource-cobol/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opensourcecobol%2Fopensource-cobol/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/opensourcecobol","download_url":"https://codeload.github.com/opensourcecobol/opensource-cobol/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223893159,"owners_count":17220833,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["c","cobol"],"created_at":"2024-11-09T23:01:52.234Z","updated_at":"2024-11-09T23:02:08.916Z","avatar_url":"https://github.com/opensourcecobol.png","language":"C","funding_links":[],"categories":["C"],"sub_categories":[],"readme":"\t\t\t  opensource COBOL\n\t\thttp://www.osscons.jp/osscobol/\n\n\"opensource COBOL\" is open-source COBOL compiler, an extension of the Japan-specific features.\n\"opensource COBOL\" translates COBOL program to C code and compiles it using GCC or CL.\n\nIt was forked from OpenCOBOL in 2012.\nSee also OpenCOBOL project.\n    http://www.opencobol.org/\n    http://sourceforge.net/projects/open-cobol/\n\nThis package contains the following subdirectories:\n\n    cobc        COBOL compiler\n    libcob      COBOL run-time library\n    bin         COBOL driver program\n    lib         static library and common headers\n    config      configuration files\n    po          international messages\n    texi        Texinfo files\n    tests       Test suite\n    vbisam      VBISAM file I/O library\n    win32       Project files for Windows\n\nAll programs except those in lib and libcob are distributed under\nthe GNU General Public License.  See COPYING for details.\n\nPrograms in lib and libcob are distributed under the GNU Lesser\nGeneral Public License.  See COPYING.LIB for details.\n\nSee AUTHORS for the author of each file.\n\nPlease refer to the file \"win32/readme.txt\" about win32 directory.\n\n============\nRequirements\n============\n\n  ***\n     NOTE\n\tFor all the following packages (required or optional),\n\tBOTH runtime AND development components are necessary.\n  ***\n  ***\n     NOTE\n\tAll the following packages are normally part of a Linux\n\tdistribution. Cygwin also has these as installable packages\n\tALWAYS install the distro packages when available !!\n  ***\n\nopensource COBOL requires the following external libraries to be installed:\n\n  o GNU MP (libgmp) 4.1.2 or later\n    http://gmplib.org\n\n    BOTH runtime AND development components required.\n\n    libgmp is used to implement decimal arithmetic.\n\n    GNU MP is distributed under GNU Lesser General Public License.\n\n\n  o GNU Libtool (libltdl)\n    http://www.gnu.org/software/libtool/libtool.html\n\n    ***\n\tNOTE - libltdl is NOT needed when installing on Linux\n\tor Windows (including Cygwin and MingW).\n    ***\n\n    libltdl is used to implement dynamic CALL statements.\n\n    GNU Libtool is distributed under GNU Lesser General Public License.\n\n  **\n\nThe following libraries ARE required WHEN :\n\n1) Indexed-Sequential file I/O is used\n\n  o Berkeley DB (libdb) 1.85 or later\n    http://www.oracle.com/\n\n    BOTH runtime AND development components required.\n\n    Recommended is version 4.x as 1.85 is known to have problems.\n\n    * NOTE *\n\n     The following NOTE(S) ONLY apply to DB \u003c= 4.1\n\n\t    * NOTE *\n\t     The BDB version 4.0 was never officially supported from\n\t     sleepycat but, unfortunately, found it's way into Linux\n\t     releases. Install a newer version.\n\n\t    * NOTE *\n\t     If you are generating BDB yourself and the BDB \n\t     version is \u003c= 4 (and version \u003c 1), you need to specify\n\t     --enable-compat185 as a minimum to the BDB configure.\n\t     BDB does NOT have the usual install path of either\n\t     /usr or /usr/local. Therefore, it is recommended to\n\t     specify --prefix=/usr/local to the configure.\n\n    libdb is used to implement indexed file I/O and SORT/MERGE.\n\n    Berkeley DB is distributed under the original BSD License (1.85)\n    or their own open-source license (2.x or later).  Note that, as\n    of 2.x, if you linked your software with Berkeley DB, you must\n    distribute the source code of your software along with your\n    software, or you have to pay royalty to Oracle.\n\n2) SCREEN I/O is used or extended ACCEPT/DISPLAY is used\n\n    BOTH runtime AND development components required.\n\n  o Ncurses (ncurses) 5.2 or later\n    http://www.gnu.org/software/ncurses/ncurses.html\n\n    libncurses is used to implement SCREEN SECTION and extended\n    ACCEPT/DISPLAY.\n\n    Ncurses is distributed under a BSD style license.\n\n  o Unix curses\n\n  o PDCurses (pdcurses) for MinGW ports\n    http://pdcurses.sourceforge.net\n\n============\n\n============\nInstallation\n============\n\n  **\n\tNOTE\n\tDue to deficiencies in the tools used to prepare\n\topensource COBOL (autoconf/automake/libtool), it is\n\tNOT generally possible to use path names with\n\tspaces embedded within them (Mainly Cygwin/MingW/Windows ports).\n  **\n \nTo generate/install opensource COBOL on Linux:\n\n**************************************\n\n    ./configure\n    make\n\n Here you may run\n    make check\n to run a series of opensource COBOL test programs (must do!)\n This MUST succeed - If not, please report.\n\n    make install\n\n** NOTE **\n   On Linux systems, if you are installing for the\n   -first- time, you may need to run \"ldconfig\" (as root).\n   In fact, it does not hurt if you always do this.\n\n** NOTE **\n   On some Red Hat (Fedora) installations and\n   possibly other Linux distros, /usr/local/lib\n   is NOT automatically searched at runtime. \n   Edit /etc/ld.so.conf and add /usr/local/lib to the file.\n   Rerun \"ldconfig\".\n\nYou may optionally perform a series of COBOL85 tests.\nSee tests/cobol85/README\nIt is recommended that you perform this test.\n\n**************************************\n\nIf you think you have a problem or just want to\nrecord the make output, just redirect the output thus :\n    make 1\u003emymake.log 2\u003e\u00261\n    make install 1\u003emyinstall.log 2\u003e\u00261\n\n**************************************\n\nYou can get back to a clean installation status by running :\n    make distclean\n\n**************************************\n\nThe \"make install\" will default to \"/usr/local\" as\nthe install path. You may override this by specifying\n\"--prefix=\u003cyour install path\u003e\" to the \"./configure\"\ncommand.\n\n***********************************************************\n\n============\n\nThe following is only interesting for advanced use.\nA normal user should not have recourse to use these\noptions.\n\nThere are the following configure options:\n\n  --with-cc=\u003ccc\u003e\t\tSpecify C compiler command used by cobc\n\t\t\t\tDo not specify this unless you know what\n\t\t\t\tyou are doing!\n\n  --with-db1\t\t\tUse Berkeley DB 1.85 (libdb1/libdb-1.85)\n\t\t\t\tThis overrides --with-db/--without-db\n\n  --with-db\t\t\tUse Berkeley DB 3.0 or later (libdb)\n\t\t\t\tThis is the default\n\n  --without-db\t\t\tDo not use Berkeley DB\n\t\t\t\tYou will not be able to use SORT/indexed I/O\n\n  --with-dl\t\t\tUse the system dynamic linker instead of ltdl\n\t\t\t\tThis is the default\n\t\t\t\t(Note on Windows, native loading is used)\n\n  --without-dl\t\t\tUse ltdl for dynamic program loading\n\n  --with-patch-level=\u003cn\u003e\tSet internal patch level to n (default 0)\n\n  --with-varseq=\u003cn\u003e\t\tDefine the format for variable length sequential\n\t\t\t\tfiles. For values of 0, 1 and 2, four bytes are\n\t\t\t\twritten preceeding each record. The format of\n\t\t\t\tthese four bytes for values of 0, 1, 2 is\n\t\t\t\tas follows :\n\t\t\t\tn = 0 (default)\n\t\t\t\t\tThe first 2 bytes are the record length\n\t\t\t\t\tin big-endian order. This is compatible\n\t\t\t\t\twith mainframe. Bytes 3 and 4 are set\n\t\t\t\t\tto binary 0.\n\t\t\t\tn = 1\n\t\t\t\t\tThe 4 bytes are the record length in\n\t\t\t\t\tbig-endian order.\n\t\t\t\tn = 2\n\t\t\t\t\tThe 4 bytes are the record length in\n\t\t\t\t\tnative machine order (int).\n\t\t\t\t\t(This was previously the default)\n\n\t\t\t\tFor the value of 3, two bytes are written\n\t\t\t\tpreceeding each record :\n\t\t\t\tn = 3\n\t\t\t\t\tThe first 2 bytes are the record length\n\t\t\t\t\tin big-endian order. The record follows\n\t\t\t\t\timmediately after beginning at byte 3.\n\n  --enable-debug\t\tAdd '-g' debug option to make\n\n============\n\n============\nDevelopment\n============\n\nIf you wish to hack the opensource COBOL source code, proceed\nas follows.\n\nYou need to install the following extra packages with specified\nminimum version before changing/building opensource COBOL:\n\nFor compiling :\n  o Bison 1.875\n  o Flex 2.5.4\n\nIf you reconfigure and/or prepare a distribution\n  o Autoconf 2.59\n  o Automake 1.9.6\n  o Libtool 1.5.24\n  o m4 1.4.2\n  o Gettext 0.14.1\n  o Texinfo 4.6 (For makeinfo)\n\nIf you modify top-level configure.ac, Makefile.am in any directory,\nor any of the standard OC tests then you will need to\nrun \"autoreconf -I m4\" to regenerate the necessary files.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopensourcecobol%2Fopensource-cobol","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopensourcecobol%2Fopensource-cobol","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopensourcecobol%2Fopensource-cobol/lists"}