Menu

GnuCOBOL on M1 Macs (Apple Silicon)

Kunal Goel
2021-06-05
2023-10-05
  • Kunal Goel

    Kunal Goel - 2021-06-05

    I am planning to buy one of the M1 Macbooks but before doing that I need to make sure that I can compile and run COBOL programs on it.

    So can anyone here with a M1 Mac share their experience.

     
    • Simon Sobisch

      Simon Sobisch - 2021-06-08

      As all the used components work with the x86-64 emulation I see no reason that it would not work. homebrew and other Mac-Ports have at least "native" variants of GnuCOBOL's dependencies, so even if there is not updated gnucobol package for Apple Silicon you could create it on your own without big issues (GnuCOBOL works fine on ARM).

       
  • Simon Sobisch

    Simon Sobisch - 2023-09-15

    @koolkunz Would you mind sharing an update? Note: on MacOS you'd nowadays very likely just use the homebrew recipe for GnuCOBOL (gives you current and full features GnuCOBOL versions).

    ... and all of the debugging options mentioned in the other issue also work here :-)

     
    • Anonymous

      Anonymous - 2023-09-15

      Sorry but I never pulled the trigger on the apple silicon mac.

       
      • Kunal Goel

        Kunal Goel - 2023-09-15

        The above reply was by me, I wasn't logged in

         
  • wmealing

    wmealing - 2023-10-05

    Can confirm it works on M1.

     
    • wmealing

      wmealing - 2023-10-05

      I should mention that I use gnucobol from "brew" and the default C compiler to build my toolchain.

       

Anonymous
Anonymous

Add attachments
Cancel