| 1 |
The libgcobol is intended for use entirely and solely by executables created |
| 2 |
from COBOL source code by the GCOBOL "COBOL for GCC" front end. |
| 3 |
|
| 4 |
libgcobol.a can be staticly linked in, but it makes for very large binaries. We |
| 5 |
tend to use that for debugging the GCOBOL compiler, and not much else |
| 6 |
|
| 7 |
Many of the functions in the library are called by the executable code generated |
| 8 |
by the GCOBOL compiler through GIMPLE tags, and thus prototypes -- which are |
| 9 |
part of the C/C++ programming paradigm -- are not used. Both the calling |
| 10 |
program and the called program use the extern "C" construction so that the |
| 11 |
linker can find the functions, and they need to agree ahead of time about the |
| 12 |
meaning of passed parameters. |