]> git.ipfire.org Git - thirdparty/gcc.git/commit
cobol: Remove %I spec master trunk
authorXavier Del Campo Romero <xdelcampo@symas.com>
Mon, 15 Jun 2026 20:53:48 +0000 (22:53 +0200)
committerJames K. Lowden <jklowden@cobolworx.com>
Mon, 22 Jun 2026 17:01:41 +0000 (13:01 -0400)
commit112b53b86280087c4ac0b2a1e0d9f0aa01881540
tree9eca90ece8455455e2e4f334bce32470f30687a4
parent1b8b13c16a771149c59ba685d4bd2eefb48404d5
cobol: Remove %I spec

Remove %I from the spec string because gcobol does not use the C
preprocessor library and does not search include/ or include-fixed/
directories.  Instead, system copybooks (as they're called) follow the
runtime library and are installed into the LIBSUBDIR, similarly to
Modula-2's .def files.

For compilations relying on non-standard paths (i.e., outside the
installation prefix), -B is already handled by the cobol1 compiler.

gcc/cobol/ChangeLog:

* gcobol.1: Document -B.
* lang-specs.h: Remove %I spec.
* lang.opt: Remove options injected by %I.
* lang.opt.urls: Likewise.
gcc/cobol/gcobol.1
gcc/cobol/lang-specs.h
gcc/cobol/lang.opt
gcc/cobol/lang.opt.urls