Menu

Updated Windows MinGW GnuCOBOL 3.1.2 binaries

2022-09-02
2022-09-05
  • Arnold Trembley

    Arnold Trembley - 2022-09-02

    Updated binaries are available for Windows MinGW GnuCOBOL 3.1.2:

    https://www.arnoldtrembley.com/GC312-BDB-SP2-rename-7z-to-exe.7z

    https://www.arnoldtrembley.com/GC312-VBI-SP2-rename-7z-to-exe.7z

    https://www.arnoldtrembley.com/GC312-NODB-SP2-rename-7z-to-exe.7z

    The Build Guide has also been updated.

    https://www.arnoldtrembley.com/GnuCOBOL-3.2-MinGW-Build-Guide-V1.3.pdf

    https://www.arnoldtrembley.com/GnuCOBOL-3.2-MinGW-Build-Guide-V1.3.docx

    The GnuCOBOL 3.1.2 binaries now include embedded GCC 9.2.0 (versus GCC 6.3.0). GCSORT.EXE is included in the \bin folder. GMPLIB has been updated to 6.2.1. PDCursesMOD has been updated to 4.3.4 and alternate versions of the dll are included:

    08/29/2022 08:46 PM 179,951 pdcurses.dll
    08/29/2022 09:11 PM 152,830 pdcurses_vt.dll
    08/29/2022 08:46 PM 179,951 pdcurses_wincon.dll
    08/29/2022 09:03 PM 197,498 pdcurses_wingui.dll

    The "WinCON" version of pdcurses.dll is the default, but by renaming you can try out "WinGUI" or "VT" based versions.

    There is a new \docs folder containing GnuCOBOL manuals:

    01/19/2022 08:31 AM 1,706,170 GCSORT_Manual.pdf
    08/28/2022 08:41 PM 2,066,937 GnuCOBOL 3.2 Programmer's Guide.pdf
    08/28/2022 08:42 PM 260,927 GnuCOBOL 3.2 Quick Reference.pdf
    08/28/2022 08:42 PM 436,149 GnuCOBOL 3.2 Sample Programs.pdf

    Also included is a "STARTHERE.txt" file to help explain how to use "set_env.cmd" to set GnuCOBOL compiler environment variables.

     
    ❤️
    3
    👍
    1
    • Chuck Haatvedt

      Chuck Haatvedt - 2022-09-03

      Thanks Arnold, this is much appreciated. The inclusion of all 3 builds for PDCURSESMOD 4.3.4 is a real plus as is the updated 3.2 build guide.

       
  • Emmad

    Emmad - 2022-09-02

    Great work. BIG THANK YOU.

     
  • Mickey White

    Mickey White - 2022-09-02

    Wow, you have been very busy. Is their a 64bit coming ? No hurry.

     
    • Arnold Trembley

      Arnold Trembley - 2022-09-03

      MSYS2/MinGW 64-bit is just different enough from MSYS/MinGW 32-bit that I don't know how to build 64-bit GnuCOBOL, except for the packages typically used for GnuLinux. Those packages only get updated for official releases, so I will most probably not be able to build a 64-bit GnuCOBOL until there's a final release package for GC 3.2 or 4.0.

      There already is a 64-bit MSYS2 GnuCOBOL, but it is GnuCOBOL 3.1.2 (23Dec2020):

      https://www.arnoldtrembley.com/GC312-BDB-M64-rename-7z-to-exe.7z

      https://www.arnoldtrembley.com/GnuCOBOL-3.1.2-MSYS2-64-bit-Build-Guide-draft.docx

      If anyone has tips on how to build GnuCOBOL from components (instead of release package) in MSYS2, I would love to see them.

      I'm also curious as to how GnuCOBOL is built for MacOS, but I am not a Mac user.

      Kind regards,

       
      👍
      1
      • Chuck Haatvedt

        Chuck Haatvedt - 2022-09-05

        Arnold,

        I was able to build the 64 bit version of GNUCOBOL from the most current 3.2-dev source using MSYS2.

        I used PDCursesMOD-4.3.4, GMP-6.2.1, Berkeley DB-18.1

        I can work with you to create a build guide for this.

        it's late and I need to get some sleep.

         
      • Simon Sobisch

        Simon Sobisch - 2022-09-05

        According to the MSYS2 docs:


        As an alternative you can download or clone the package folder with the scripts to your machine and you build it for yourself, in whatever version you like.

        Assuming you have a properly installed MSYS2 environment and build tools, you can build any package using the following command:
        cd ${package-name} MINGW_ARCH=mingw64 makepkg-mingw -sLf
        After that you can install the freshly built package(s) with the following command:
        pacman -U ${package-name}*.pkg.tar.xz


        so start MSYS2 (not its MinGW shells)

        mkdir mingw-w64-gnucobol
        cd mingw-w64-gnucobol
        wget --no-check-certificate https://raw.githubusercontent.com/GitMensch2/MINGW-packages/patch-3/mingw-w64-gnucobol/PKGBUILD
        wget --no-check-certificate https://raw.githubusercontent.com/GitMensch/MINGW-packages/patch-3/mingw-w64-gnucobol/cobenv.cmd
        wget --no-check-certificate https://raw.githubusercontent.com/GitMensch/MINGW-packages/patch-3/mingw-w64-gnucobol/cobenv.sh
        wget --no-check-certificate https://ci.appveyor.com/api/projects/GitMensch/gnucobol-3-x/artifacts/gnucobol-3.2-dev.tar.xz?job=Image:%20Ubuntu2004 -O gnucobol-3.2-dev.tar.xz
        notepad.exe PKGBUILD
        

        now change as follows (leaving the not mentioned entries as-is:

        _realver=3.2-dev
        pkgver=3.1.901
        pkgrel=1
        source=("${_realname}-${pkgver}.tar.xz" "cobenv.sh" "cobenv.cmd")
        sha256sums=(SKIP
                    'EEDFC170CFD6606527DD701C3CF6BBA2029C33CE694F697F8B7EE527B4ED7F1C'
                    '244AFBD011B0C0141753C7259173D9F49F161A97C7252B52369E0CEC50147308'
                    )
        

        Then save and exit and finally create and install your package as noted in the MSYS instructions above (you can, of course, also add more architectures or use a different version; but that's the way it should work).

         
  • Eugenio Di Lorenzo

    Hi Arnold, this is, as always, a very precious piece of work!
    My compliments also for improving it by including the GCSORT and with the GnuCOBOL programmer's guide.

    I appreciate it very much since your first release which was born from a post of mine in 2015:
    https://sourceforge.net/p/gnucobol/discussion/help/thread/16d4e753/?limit=25#14f0

    I also see that it has a lot of downloads and helps all programmers to greatly speed up access to GnuCOBOL and its use.

    Again a big thank you!

     
    👍
    1
    • Vincent (Bryan) Coen

      On 04/09/2022 12:39, Eugenio Di Lorenzo wrote:

      Hi Arnold, this is, as always, a very precious piece of work!
      My compliments also for improving it by including the GCSORT

      and with the GnuCOBOL programmer's guide.

      ??

      Vince

       

      Last edit: Simon Sobisch 2022-09-04
      • Simon Sobisch

        Simon Sobisch - 2022-09-04

        @vcoen: The download mentioned above is the first MinGW binary distribution that includes the current recent version of the Programmer's Guide (one download to get all important pieces).

         
  • Vincent (Bryan) Coen

    Noted thanks,

    V.

     
  • Eugenio Di Lorenzo

    In addition to the GCSORT and the GnuCOBOL manuals, if there was an integrated debugger in the whole package, as was assumed some time ago at the time of the 2.2 release, it would be the best !

    Something like the TP-DEBUGGER or the OCEAN (open Cobol Embedded Animator) project that was never completed. Similar to the Animator of Mcrofocus or also of Realia COBOL.
    But this is not for Arnold.

     
    • Anonymous

      Anonymous - 2022-09-04

      Did you miss the Debugging sessions in the GnuCOBOL Community Meetings?

      For the 64 bit builds Arnold could download and install via pacman -U filename the following in his 64bit builds and ship the additional files: https://cobolworx.com/pages/downloads/mingw-w64-x86_64-cblgdb-4.28-1-any.pkg.tar.zst (note: the 64bit packages should also include the gdb or better gdb-multiarch package to be able to use that).

      COBOL source-level debugging including access to COBOL variables using cbl-gdb works like a charm (ok for 90% of the cases only, but that's quite a lot and much more than with TP-DEBUGGER [use that if you want to stick with it or need to use a GnuCOBOL version before 3.1.2 or use a non-gcc build]).

       
      • Eugenio Di Lorenzo

        HI, unfortunately I was unable to attend the meeting
        Then unfortunately I was told that the session was not recorded.
        It would be very useful if someone published, in a post other than this one, some screenshots to get an idea of how it looks and how it works.

         

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.