Page 1 of 1

How to install zeus to edit and compile cobol programs

Posted: Sat Dec 31, 2016 6:32 pm
by krigul
I used to use zeus on my old laptop over a year ago. Now i have a new laptop with windows 10, and I want to download and re-install zeus for my cobol programs, how can I do it?

Re: How to install zeus to edit and compile cobol programs

Posted: Sun Jan 01, 2017 12:53 am
by jussij
Details for how to setup the GNU COBOL are found here: viewtopic.php?t=7174

Details fro setting up the Acucorp COBOL are found here: viewtopic.php?t=6630

For another version of COBOL, it should be possible to configure Zeus in a similar fashion using the steps similar to those described in the links above.

Cheers Jussi

Re: How to install zeus to edit and compile cobol programs

Posted: Mon Jan 02, 2017 8:52 pm
by krigul
I am able to compile my program but not create an executable. I am using the following command cobc.exe -C -g -v -x {program name}. It is creating .I file and and converting it to C but not creating an .exe file.

I believe there is an issue with the path, because when I run C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools\vsvars32.bat I get the following message:
Setting environment for using Microsoft Visual Studio 2010 x86 tools.
ERROR: Cannot determine the location of the VS Common Tools folder.

Can someone help me on this?

Thanks,
Krikor

Re: How to install zeus to edit and compile cobol programs

Posted: Tue Jan 03, 2017 2:25 am
by jussij
Zeus comes with a ze.cmd batch file that will try to automatically find the correct vsvars32.bat file.

Try using this batch file as described here: viewtopic.php?t=2707

Cheers Jussi

Re: How to install zeus to edit and compile cobol programs

Posted: Tue Jan 03, 2017 3:44 am
by jussij
I worked through the COBOL setup a second time and came up with some new details found here: viewtopic.php?t=7603

Cheers Jussi