gcc/libgcobol
Iain Sandoe b6aafe9a5b libgcobol: Provide fallbacks for C32 strfromf32/64 functions.
strfrom{f,d,l,fN) are all C23 and might not be available in general.
This uses snprintf() to provide fall-backs where the libc does not
yet have support.

libgcobol/ChangeLog:

	* config.h.in: Regenerate.
	* configure: Regenerate.
	* configure.ac: Check for availability of strfromf32 and
	strfromf64.
	* libgcobol.cc (strfromf32, strfromf64): New.

Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
2025-04-03 14:33:59 +01:00
..
acinclude.m4
aclocal.m4 libgcobol: Add configure checks for iconv. 2025-03-20 19:50:51 +00:00
ChangeLog Daily bump. 2025-04-03 00:18:15 +00:00
charmaps.cc cobol: Confine all __int128/_Float128 references to libgcobol. 2025-03-28 12:21:05 -04:00
charmaps.h
common-defs.h cobol: Confine all __int128/_Float128 references to libgcobol. 2025-03-28 12:21:05 -04:00
config.h.in libgcobol: Provide fallbacks for C32 strfromf32/64 functions. 2025-04-03 14:33:59 +01:00
configure libgcobol: Provide fallbacks for C32 strfromf32/64 functions. 2025-04-03 14:33:59 +01:00
configure.ac libgcobol: Provide fallbacks for C32 strfromf32/64 functions. 2025-04-03 14:33:59 +01:00
configure.tgt cobol: Fix up libgcobol configure [PR119216] 2025-03-11 14:36:53 +01:00
constants.cc cobol: Confine all __int128/_Float128 references to libgcobol. 2025-03-28 12:21:05 -04:00
ec.h cobol: Confine all __int128/_Float128 references to libgcobol. 2025-03-28 12:21:05 -04:00
exceptl.h
gcobolio.h cobol: Confine all __int128/_Float128 references to libgcobol. 2025-03-28 12:21:05 -04:00
gfileio.cc libgcobol: Ensure that config.h is included where needed. 2025-04-03 14:32:27 +01:00
gfileio.h cobol: Confine all __int128/_Float128 references to libgcobol. 2025-03-28 12:21:05 -04:00
gmath.cc libgcobol: Ensure that config.h is included where needed. 2025-04-03 14:32:27 +01:00
gmath.h
intrinsic.cc libgcobol: Only use random_r if it is available [PR119295] 2025-04-03 14:33:27 +01:00
io.cc libgcobol: Ensure that config.h is included where needed. 2025-04-03 14:32:27 +01:00
io.h
libgcobol.cc libgcobol: Provide fallbacks for C32 strfromf32/64 functions. 2025-04-03 14:33:59 +01:00
libgcobol.h cobol: Confine all __int128/_Float128 references to libgcobol. 2025-03-28 12:21:05 -04:00
Makefile.am cobol: Make CXXFLAGS_FOR_TARGET available to the libgcobol build. 2025-03-23 00:00:52 -04:00
Makefile.in cobol: Make CXXFLAGS_FOR_TARGET available to the libgcobol build. 2025-03-23 00:00:52 -04:00
README
valconv.cc libgcobol: Fix uses of tolower and toupper with std::transform 2025-03-26 16:49:11 -04:00
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.