Compile and install GNU-COBOL (formerly Open COBOL) on Mac OS X Yosemite

  1. Make sure you have xcode installed.
  2. Compile and install GNU MP Bignum Library.
  3. Compile and install Berkeley DB.
  4. Download GNU COBOL
  5. Compile and install:
    ./configure CFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib --prefix=/usr/local
    sudo make install

1 comment:

  1. Just a quick note to say thanks for posting this. Spent the a day trying to figure it out via the instructions in the GNU-COBOL FAQ for Mac and got nowhere by frustrated.

    Found your article and accomplished it in under 10mins.

    Thanks again!