HOME  NEWS  FORUM  DOWNLOAD  LINK
OpenCOBOL - an open-source COBOL compiler
Main Menu
Download
Documentation
Development
Who's Online
17 user(s) are online (7 user(s) are browsing Forum)

Members: 0
Guests: 17

more...
Powered by
SourceForge

Xoops

Creative Commons

OpenCOBOL Forum Index
   OpenCOBOL
     OpenCOBOL 1.1pre-rel on Mac OS, thru VirtualBox
Register To Post

Flat Previous Topic | Next Topic
Poster Thread
btiffin
Posted on: 2012/3/10 8:52
Home away from home
Joined: 2008/6/7
From: CANADA
Posts: 1196
OpenCOBOL 1.1pre-rel on Mac OS, thru VirtualBox
It works out pretty easy.

Install VirtualBox
Snag a pre-built Fedora-16 from Virtualboxes
Un 7z it
New it in as an existing disk
Log in
Resize to taste
Open a terminal

$ sudo yum install db4 db4-devel ncurses-devel gmp.devel
$ curl http://www.sim-basis.de/open-cobol-1.1.tar.gz >open-cobol-1.1.tar.gz
$ tar xvf open-cobol-1.1.tar.gz
$ cd open-cobol-1.1
$ ./configure
$ make
$ make check
$ sudo make install

$# now a little monkey game on Fedora
$#   sudo vi (create) /etc/ld.so.conf.d/opencobol.conf
$#   and place a single line in the conf file
$#       /usr/local/lib

$ sudo ldconfig


yay.cob
program-id. yay.
procedure division.
display "Yayyyy! OpenCOBOL" end-display.


Then
$ cobc -x -free -W -g -debug yay.cob
$ ./yay
Yayyyy! OpenCOBOL


Good to go. Yayyy. On a Mac, in about an hour of downloads and builds and things.

Cheers,
Brian
Flat Previous Topic | Next Topic

Subject Poster Date
 » OpenCOBOL 1.1pre-rel on Mac OS, thru VirtualBox btiffin 2012/3/10 8:52
     Re: OpenCOBOL 1.1pre-rel on Mac OS, thru VirtualBox human 2012/3/10 9:39
       Re: OpenCOBOL 1.1pre-rel on Mac OS, thru VirtualBox btiffin 2012/3/12 6:17

Register To Post
 
Copyright (C) 2005 The OpenCOBOL Project. All rights reserved.
Powered by Xoops2 | PHP | MySQL | Apache
ocean-net