Setting up COBOL Compiler under Mac OS?

后端 未结 2 1549
花落未央
花落未央 2021-02-08 18:43

In my university, we\'re being taught COBOL, and I\'m trying to get a head start and learn COBOL, C++, and Java before I get into the classes next year.
Problem is; COBOL is

相关标签:
2条回答
  • 2021-02-08 19:32

    You can use brew to install GNU Cobol (Open Cobol). Just type:

    brew install gnu-cobol
    

    Then to compile program use:

    cobc -x hello.cob
    

    Browse --help for more option (like super nice -free)

    0 讨论(0)
  • 2021-02-08 19:37

    Is there a particular Cobol you are trying to use. If not try

    • Open Cobol

    There are some very old notes for the mac here but you might be better off asking a question in the Open Cobol Help forum.

    The Open-Cobol project are currently collecting sample cobol programs which might be useful to you.

    0 讨论(0)
提交回复
热议问题