MS Windows native; MS Windows with Cygwin; GNU/Linux; POSIX Systems including. As an example, Ubuntu 18.04, sudo apt install gnucobol is release 2.2. The GnuCOBOL FAQ, How To. Yum install open-cobol. Recommended for anyone wanted to get setup with GnuCOBOL on Windows.
I have had some experience with NSIS so If you need some help let me know ( Note: heading off on a long holiday in 2 weeks so get in fast). With NSIS • You can build your installs on Linux (you have to build NSIS on linux though). This works quite well.
I would advise getting it all working on Windows first. I have Rexx Script front end to NSIS.
The Rexx script will • Expand directories for you (You just specify the directories and rexx script generates all imports for the files in the directory). • Generate deletes (uninstall) for all the 'Expanded files' from above. I find the Rexx script makes it much easier to maintain NSIS scripts.
Bruce; Sounds grand. I know nothing.;-) I might be able to pitch a hand, but I'll be exploring as the scripts are written. I could easily wait a few weeks, so. No time worries from this happy GNU/Linux camper, others may feel it more urgent.
Sergey's AMD binary installs nicely in C: OpenCOBOL, and I only worked inside that directory, which was pretty smooth sailing, even in CMD. But, I only assume that would be seen as bad form in a final installer? I have no real clue how the environment variable settings should work, but I think it's safe to pass the buck over to Simon? That being a rather presumptuous think.:-) And +OneLike on the Rexx.
In with the COBOL of course. Cheers, Brian Last edit: Brian Tiffin 2013-11-20. Damon, thanks trying it out! I'm glad to hear that it works on Windows 8, because I don't have a Windows 8 PC to test it on. I have tested the install and the uninstall on both XP and Win7.
There's probably room to improve the README and documentation on setting up Environment Variables in Windows. It's a little different for XP versus Win7. It would probably take me quite a while to learn how to build the compiler from source, but if I there were MinGw 2.0 GNU COBOL zip file like Gary Cutler's for OC 1.1 it would be fairly simple to build an INNO installer. I'll upload GNU Cobol 2.0 binaries for use with Visual Studio (expect it within 40 hours:-) for Win x86. Arnold can put this into an INNO installer.
Should we come up with a 'redist-only' version (no need for cobc+copy+configs; only Visual Studio Redistributable Package needed, not full Visual Studio [Express])? @Arnold: you can start the work as it should install the Redistributable Package if not already on the system and should have links to Visual Studio Express installation if no Visual Studio is installed (can be checked via environment vars%VS130COMNTOOLS%,%VS120COMNTOOLS%.%VS70COMNTOOLS%).
Simon Last edit: Simon Sobisch 2014-02-06. So here it is (right click save as): - you'll need Visual Studio (Express) installed, either 2012 version or 2007+ together with Visual Studio 2012 runtime. Edit: Uploaded the Version compiled with Visual Studio 2010: Just to make this point clear: This is work-in-progress, directly taken from SVN not a release! If you put it into C: GNU Cobol 2.0 it will work out of the box (you may want to call C: GNU Cobol 2.0 set_env_vs.bat once for setting environment for Visual Studio and putting cobc into PATH). If you put it into another folder call set_env.bat, that should set everything you need. GNU Cobol 2.0 Programmers Guide or sample programs are not included yet. @Arnold/@Bruce: have fun with creating an installer (if possible with VS Runtime / Compiler check & install) - and please attach the installer here (together with the installer source).