However, in Windows, there is NO standard C compiler, and OpenCobol needs to respect that. There's Microsoft Visual Studio C++, Borland, Digital Mars, MinGW, Cygwin, ActiveState Perl, Strawberry Perl and so on. A decent OpenCobol installer for Windows should either:
- Include a modern table of acceptable C compilers and their CLI syntax, allowing OpenCobol to detect and use any of the aforementioned (MSVC++, Borland, ...) compilers that were installed on the system at the time of OpenCobol installation.
- Include its own preconfigured C compiler, which Sergey and Gary have done.
- Include a "cobc.exe" that is able to produce executables without external C compilers.
The first option is complex, because it requires cobc to have a large, up to date table of dozens of C compiler command line argument standards.