Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
old | 2020-10-27 | ||
README.md | 2020-10-27 | 2.9 kB | |
Totals: 2 Items | 2.9 kB | 1 |
GnuCOBOL dependencies for Windows
https://www.gnu.org/software/gnucobol/
Note: this directory contains files and documentation for building with different compilers than GCC on Windows.
GCC based compilers
GCC based compilers (MinGW/MSYS2/Cygwin) often come with their related package managers which will allow to install the necessary dependencies or even GnuCOBOL itself.
Examples:
environment | type | command |
---|---|---|
MSYS2, like ArchLinux | command | pacman -S gnucobol |
MinGW | command | mingw-get install libgmp |
GUI | mingw-get-setup |
|
Cygwin | GUI | setup.exe |
non-official | command | apt-cyg install libxml2-devel |
Packages that are not available with those package managers (primarily old MinGW) may be built from source.
For all these: see the common dependency README.
VisualStudio
In the rare circumstances where a GCC Windows build cannot be used, you may either build the dependencies on your own or use the pre-built ones used and packaged by the CI/CD.
To ease the build of dependencies you may want to do this with vcpkg. For example:
set PLATFORM=x86
set PLATFORM=x64
set "VCPKGS=mpir:%PLATFORM%-windows pdcurses:%PLATFORM%-windows berkeleydb:%PLATFORM%-windows libxml2:%PLATFORM%-windows cjson:%PLATFORM%-windows json-c:%PLATFORM%-windows"
vcpkg install %VCPKGS%
This is also done in CI/CD with an additional
vcpkg.exe export %VCPKGS% --raw
7z.exe a -r -mx=9 "dependencies-%PLATFORM%.7z" vcpkg-export
The results of these commands can be downloaded for convenience from: