I tried to use the patches to build binary packages for Debian. Found some issues:

gcc/cobol:

- the config-lang.in is provided in both patch 04 and patch 08.

- the installation path for the gcobc script is missing the gcc/
  subdir. Does it make sense to ship the script without the udf
  files?

- same for cobol/udf/*, also the udfdir macro is undefined, and
  the files are missing.

- the installation of the gcobol.1 man page doesn't honor the
  prefix and the suffix form the configury.

- gcobol.3 is installed in the root dir, the man3dir macro is
  undefined.

- The header files mentioned in gcobol.3 are not installed.


libgcobol:

- the patches are missing the regenerated toplevel Makefile.in

- the shared library is underlinked. There are unresolved
  symbols against libm and libstdc++.

- The build uses plain CC for the build, not the _FOR_HOST
  and _FOR_TARGET macros passed from the toplevel make.

- the library build is not ready for multilibs.

- configure.ac has reference to a GC enabled variant, however
  there's nothing in the Makefile supporting that build.


A simple hello.cob builds, is correctly linked against the shared library and executes fine.

Is there some cobol based open source project, which could be used for further testing?


Matthias

Reply via email to