On Mon, 24 Feb 2025 14:51:27 +0100
Richard Biener <[email protected]> wrote:
> Installing the result via make install DESTDIR=/foo I see both a
> 'gcobol' and a 'gcobc' program
> being installed - is that intentional?
Yes, that is intentional. gcobol is the compiler driver, as you know.
gcobc is a shell script that emulates GnuCOBOL's cobc
executable. It is being used to facilitate compatibility with
GnuCOBOL.
I see it's not documented. There is quite extensive documentation for
it in a directory we chose not to supply among our patches, for
simplicity. I will look into adapting that page,
gcc/cobol/scripts/rocky8/migration-guide.1
to something more specific to gcobc.
> I also see the gcobol.3 manpage reside directly in /foo/gcobol.3
> rather than in the expected /foo/usr/local/man/..
There may be something missing somewhere higher up. I had to add the man3
directory to the install machinery. I will investigate.
> sources might reside on a R/O mounted volume
working on it. Perhaps tomorrow.
--jkl