Installing Gnu Cobol on Windows 10 PC

Jean47 -  
jee pee Posted messages 31883 Registration date   Status Moderator Last intervention   -

Hello,
I would like to install Gnu Cobol on my Windows PC to allow me to program in Cobol, a language I practiced at the beginning of my career.

But I can't find any installation procedures, and it doesn't seem that simple.

Thank you for your help.

2 answers

  1. luckydu43 Posted messages 4497 Registration date   Status Member Last intervention   1 177
     

    Hello,

    If the idea is to have fun and create some scripts, there are online compilers available.

    If the idea is to embark on a complex project, you need to emulate a machine.


    The MAANG may not have oil, but they have data!
    Can you feel my Big Data?
    Sacrifice a few freedoms for more security and you lose them ALL.
    ALL YOUR DATABASE ARE BELONG TO US

    0
  2. jee pee Posted messages 31883 Registration date   Status Moderator Last intervention   9 979
     

    Hello,

    You should indicate where you found a Windows executable of this tool, which was originally intended for Linux as its name suggests.

    Then you need to install a C compiler and I think configure the tool to use this compiler. Since GnuCobol transposes Cobol into C and then compiles it.

    Funny idea to revisit Cobol ;-) I used it myself on Ibm or Bull, 40 years ago. If I were to start a (very small) project today, I would use Python.


    0
    1. brucine Posted messages 24838 Registration date   Status Member Last intervention   4 169
       

      Hello,

      Apparently, and for what it's worth, here's a guide to install it on a raw Windows setup.

      https://bigdanzblog.wordpress.com/2020/05/05/installing-gnucobol-on-windows/

      https://superbol.eu/developers/windows-aio-3.2/

      0
      1. jee pee Posted messages 31883 Registration date   Status Moderator Last intervention   9 979 > brucine Posted messages 24838 Registration date   Status Member Last intervention  
         

        There must be everything to answer the question. Like a display 'hello world!', which seems incongruous in a Cobol program.

        0