This is a static archive of the old Zorin Forum.

The information below may be outdated. Visit the new Zorin Forum here ›

If you have registered on the old forum, you will need to create an account on the new forum.

COBOL Compiler ??

Thomas_ww0

Tue Aug 22, 2017 1:06:27 am

does anybody know a COBOL Compiler for Zorin?

qnarkill

Tue Aug 22, 2017 7:04:28 pm

Hi,
you can search programs from terminal with command, in this example cobol.
Code:
apt-cache search cobol


To install it
Code:
sudo apt install open-cobol


to check its installed
Code:
whereis cobc; which cobc


You can then write program with any text editor.
Hope you get programming cobol soon.

Thomas_ww0

Mon Aug 28, 2017 1:06:28 am

it works! I compiled
Code:
cobc -x -std=mf -o Termine.exe Termine.cbl

Input File http://papaserver.de/Termine/Termine.txt
Output File http://papaserver.de/Termine/Termine.htm
Sourcecode http://papaserver.de/Termine/Termine.cbl
compiled exe http://papaserver.de/Termine/Termine.exe ... don't try, if you are in fear ...

The exe-file runs under Zorin, but it does not run under Windows10. Is there a way to make the exe Windows compatible?

LG Thomas

qnarkill

Mon Aug 28, 2017 2:21:33 pm

See if you can figure out from this..
https://stackoverflow.com/questions/452 ... -on-ubuntu

Thomas_ww0

Mon Aug 28, 2017 11:47:06 pm

okay, it will be more easy for me, to compile a windows-exe under Windows.
An exe-file running under Linux and Windows, would open a door. :-)
LG Thomas

qnarkill

Tue Aug 29, 2017 7:51:57 am

Yeah, probably. But if you would do that would be nice though to make a example here how to.