]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
algol68: Document -L option
authorPietro Monteiro <pietro@sociotechnical.xyz>
Fri, 12 Dec 2025 00:27:41 +0000 (19:27 -0500)
committerPietro Monteiro <pietro@sociotechnical.xyz>
Fri, 12 Dec 2025 00:27:41 +0000 (19:27 -0500)
Add a simple explanation for the -L option.  Expand the -I option
documentation to note it is also used for module interface-definitions.

gcc/algol68/ChangeLog:

* ga68.texi (@opindex I): Expand.
(@oindex L): New.
* lang.opt.urls: Regenerate.

gcc/ChangeLog:

* common.opt.urls: Regenerate.

gcc/go/ChangeLog:

* lang.opt.urls: Regenerate.

gcc/m2/ChangeLog:

* lang.opt.urls: Regenerate.

gcc/rust/ChangeLog:

* lang.opt.urls: Regenerate.

Signed-off-by: Pietro Monteiro <pietro@sociotechnical.xyz>
gcc/algol68/ga68.texi
gcc/algol68/lang.opt.urls
gcc/common.opt.urls
gcc/go/lang.opt.urls
gcc/m2/lang.opt.urls
gcc/rust/lang.opt.urls

index 96ebef679653274b10cdf58a0dc8dfbc307b3bfe..d3b86b2ac67c7887edd002a90aa3916cd8ea3aa3 100644 (file)
@@ -207,9 +207,20 @@ other parts of the compiler:
 @opindex I
 @item -I@var{dir}
 Add the directory @var{dir} to the list of directories to be searched
-for files when processing the @ref{pragmat include}. Multiple
+for files when processing the @ref{pragmat include}.  Multiple
 @option{-I} options can be used, and the directories specified are
-scanned in left-to-right order, as with @command{gcc}.
+scanned in left-to-right order, as with @command{gcc}.  The directory
+will also be added to the list of directories to be searched for module
+interface-definitions @ref{Module activation}.
+
+@opindex L
+@item -L@var{dir}
+Add the directory @var{dir} to the list of directories to be searched
+for module interface-definitions @ref{Module activation}.  Multiple
+@option{-L} options can be used, and the directories specified are
+scanned in left-to-right order, as with @command{gcc}.  The directory
+will also be added to the list of library search directories, as with
+@command{gcc}.
 
 @end table
 
index 3fea50a3fdedfea2e97c5e3c65111e5cd4e1e1ff..ab88dab9588d5b765fdd57aca4a56372f0fd939b 100644 (file)
@@ -3,6 +3,9 @@
 I
 UrlSuffix(gcc/Directory-Options.html#index-I) LangUrlSuffix_D(gdc/Directory-Options.html#index-I) LangUrlSuffix_Algol68(ga68/Directory-options.html#index-I)
 
+L
+UrlSuffix(gcc/Directory-Options.html#index-L) LangUrlSuffix_D(gdc/Directory-Options.html#index-L) LangUrlSuffix_Algol68(ga68/Directory-options.html#index-L)
+
 Wextensions
 LangUrlSuffix_Algol68(ga68/Warnings-options.html#index-Wextensions)
 
index f1109d7b3dc0103f3a2abc7501630c132ac8e65a..06139ff0eed11b84deb092a832833ec01c7a1a4d 100644 (file)
@@ -14,7 +14,7 @@ UrlSuffix(gcc/Directory-Options.html#index-B) LangUrlSuffix_D(gdc/Directory-Opti
 ;   duplicate: 'gcc/Overall-Options.html#index-E'
 
 L
-UrlSuffix(gcc/Directory-Options.html#index-L) LangUrlSuffix_D(gdc/Directory-Options.html#index-L)
+UrlSuffix(gcc/Directory-Options.html#index-L) LangUrlSuffix_D(gdc/Directory-Options.html#index-L) LangUrlSuffix_Algol68(ga68/Directory-options.html#index-L)
 
 N
 UrlSuffix(gcc/Link-Options.html#index-N)
index 4b93c4919acc54d956cf66441afc4de855f153c5..af888902d98cac096617cd83a7fed365b84e2485 100644 (file)
@@ -4,7 +4,7 @@ I
 UrlSuffix(gcc/Directory-Options.html#index-I) LangUrlSuffix_D(gdc/Directory-Options.html#index-I) LangUrlSuffix_Algol68(ga68/Directory-options.html#index-I)
 
 L
-UrlSuffix(gcc/Directory-Options.html#index-L) LangUrlSuffix_D(gdc/Directory-Options.html#index-L)
+UrlSuffix(gcc/Directory-Options.html#index-L) LangUrlSuffix_D(gdc/Directory-Options.html#index-L) LangUrlSuffix_Algol68(ga68/Directory-options.html#index-L)
 
 ; skipping UrlSuffix for 'Wall' due to multiple URLs:
 ;   duplicate: 'gcc/Standard-Libraries.html#index-Wall-1'
index f7751fe4a3c80ea75c5ef5cb7fa3c5eca098ee3b..7d87bc100844cedb59cd9dc15f8a34b80715c1f3 100644 (file)
@@ -41,7 +41,7 @@ I
 UrlSuffix(gcc/Directory-Options.html#index-I) LangUrlSuffix_D(gdc/Directory-Options.html#index-I) LangUrlSuffix_Algol68(ga68/Directory-options.html#index-I)
 
 L
-UrlSuffix(gcc/Directory-Options.html#index-L) LangUrlSuffix_D(gdc/Directory-Options.html#index-L)
+UrlSuffix(gcc/Directory-Options.html#index-L) LangUrlSuffix_D(gdc/Directory-Options.html#index-L) LangUrlSuffix_Algol68(ga68/Directory-options.html#index-L)
 
 M
 UrlSuffix(gcc/Preprocessor-Options.html#index-M) LangUrlSuffix_D(gdc/Code-Generation.html#index-M)
index 09cfede81436d68e0bad4dff78da577c57685c70..e55a0a1f0a3d4b89de5ad9d6456f1ca258c0eb9f 100644 (file)
@@ -4,7 +4,7 @@ I
 UrlSuffix(gcc/Directory-Options.html#index-I) LangUrlSuffix_D(gdc/Directory-Options.html#index-I) LangUrlSuffix_Algol68(ga68/Directory-options.html#index-I)
 
 L
-UrlSuffix(gcc/Directory-Options.html#index-L) LangUrlSuffix_D(gdc/Directory-Options.html#index-L)
+UrlSuffix(gcc/Directory-Options.html#index-L) LangUrlSuffix_D(gdc/Directory-Options.html#index-L) LangUrlSuffix_Algol68(ga68/Directory-options.html#index-L)
 
 ; skipping UrlSuffix for 'Wall' due to multiple URLs:
 ;   duplicate: 'gcc/Standard-Libraries.html#index-Wall-1'