![]() gcc/cobol PR cobol/119682 * genapi.cc: (cobol_compare): Change the call to __gg__compare(). libgcobol PR cobol/119682 * common-defs.h: Define the REFER_T_REFMOD constant. * intrinsic.cc: (__gg__max): Change the calls to __gg__compare_2(), (__gg__min): Likewise, (__gg__ord_min): Likewise, (__gg__ord_max): Likewise. * libgcobol.cc: (__gg__compare_2): Change definition of calling parameters, eliminate separate flag bit for ALL and ADDRESS_OF, change comparison of alphanumeric to numeric when the numeric is a refmod. * libgcobol.h: Change declaration of __gg__compare_2. |
||
---|---|---|
.. | ||
acinclude.m4 | ||
aclocal.m4 | ||
ChangeLog | ||
charmaps.cc | ||
charmaps.h | ||
common-defs.h | ||
config.h.in | ||
configure | ||
configure.ac | ||
configure.tgt | ||
constants.cc | ||
ec.h | ||
exceptl.h | ||
gcobolio.h | ||
gfileio.cc | ||
gfileio.h | ||
gmath.cc | ||
gmath.h | ||
intrinsic.cc | ||
io.cc | ||
io.h | ||
libgcobol.cc | ||
libgcobol.h | ||
libgcobol.spec.in | ||
Makefile.am | ||
Makefile.in | ||
README | ||
valconv.cc | ||
valconv.h |
The libgcobol is intended for use entirely and solely by executables created from COBOL source code by the GCOBOL "COBOL for GCC" front end. libgcobol.a can be staticly linked in, but it makes for very large binaries. We tend to use that for debugging the GCOBOL compiler, and not much else Many of the functions in the library are called by the executable code generated by the GCOBOL compiler through GIMPLE tags, and thus prototypes -- which are part of the C/C++ programming paradigm -- are not used. Both the calling program and the called program use the extern "C" construction so that the linker can find the functions, and they need to agree ahead of time about the meaning of passed parameters.