https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125987
Peeter Joot <peeterjoot at protonmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |FIXED
--- Comment #2 from Peeter Joot <peeterjoot at protonmail dot com> ---
verified that the driver now matches the --help text:
ubuntu:/home/peeterjoot/126002> /opt/gcc-trunk-20260717/bin/gcobol --help |
grep -5e nomain -e no_main
Options specific to gcobol:
-main filename Generate a main() for filename.
-main=filename Insert main() into filename.o
-main=filename:program-id
Insert main() for program-id.
-nomain No main() generated.
-B prefix Search prefix for the system copybooks;
-D name[=expr] Define a CDF name.
-fdefaultbyte=value Use value [0-255], for WORKING-STORAGE.
-fsyntax-only Invoke only the parser.
-copyext ext Use copybook extention ext.
ubuntu:/home/peeterjoot/126002> /opt/gcc-trunk-20260717/bin/gcobol
paren-sign-condition.cob -Wl,-rpath,/opt/gcc-trunk-20260717/lib64 -nomain -fPIC
-shared
(no errors)