cobol: interest in 32-bit target support?
Daniel Silverman
iladin@gmail.com
Sun Dec 6 04:51:11 GMT 2026
Hi all,
gcobol currently requires a 64-bit configuration: cobol1.cc rejects targets
without TImode and float128, and libgcobol only builds where __int128 is
available.
Before spending time on it, I'd like to know whether anyone actually needs
gcobol on 32-bit targets (i686, armv7, etc.), and whether the maintainers
would accept the work if it were done.
The approach I have in mind is a software 128-bit integer type in
libgcobol, with the front end emitting calls to it instead of native TImode
operations where TImode isn't supported, plus a software or
libquadmath-backed float128. 64-bit targets would keep the native path.
If there's no demand, or if 32-bit users are better served by GnuCOBOL, I'm
happy to leave it alone.
Thanks,
Daniel Silverman
More information about the Gcc
mailing list