Source code for COBOL in Domainless Code ======================================== COBOL projects are translated by GnuCOBOL 3.2 and compiled to WebAssembly on our compile server. Every compiled program contains GnuCOBOL's run-time library (libcob, LGPL-3.0-or-later) and the GNU MP library (GMP 6.3.0, LGPL-3.0-or-later or GPL-2.0-or-later; used here under the LGPL-3.0). As that licence asks, here are the complete sources of both, our changes, and everything needed to rebuild them and relink a program with a modified version: GnuCOBOL 3.2 (as released by the GNU project) https://domainless.fun/code/vendor/cobol/gnucobol-3.2.tar.xz sha256 3bb48af46ced4779facf41fdc2ee60e4ccb86eaa99d010b36685315df39c2ee2 (identical to https://ftp.gnu.org/gnu/gnucobol/gnucobol-3.2.tar.xz, signed by Simon Sobisch) GMP 6.3.0 (as released by the GMP project) https://domainless.fun/code/vendor/cobol/gmp-6.3.0.tar.xz sha256 a3c2b80201b89e68616f4ad30bc66aee4927c3ce50e33929ca819d5c43538898 (identical to https://ftp.gnu.org/gnu/gmp/gmp-6.3.0.tar.xz, signed by Niels Möller) Our changes to GnuCOBOL's run-time for WebAssembly, as a patch against that release https://domainless.fun/code/vendor/cobol/gnucobol-3.2-wasi.patch sha256 6efd982f8e3132852320bbdc136c9bbf570b24bf668cc0f70e05521050f58b0b (every change is inside #ifdef __wasi__: no processes or shell, no dynamic loading, exact-type calls) The build kit: build-gmp.sh, build-libcob.sh, wasi_patch.py (makes the patch), cobwrap.sh, RECIPE.txt https://domainless.fun/code/vendor/cobol/cobol-wasi-build-1.tar.gz sha256 2e1336f2b668c6d079c9451f902f050681abb3c950dd9e569d338c54df2fe3d0 RECIPE.txt is exactly how a project is compiled and linked. GMP is built unchanged. Licence texts and notices: https://domainless.fun/code/engines/compile/gnucobol-wasi-3.2/LICENSES.txt