Skip to content

Commit 51e27e3

Browse files
author
Pietro Monteiro
committed
algol68: Document -L option
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 <[email protected]>
1 parent 93a07ac commit 51e27e3

File tree

6 files changed

+20
-6
lines changed

6 files changed

+20
-6
lines changed

gcc/algol68/ga68.texi

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,9 +207,20 @@ other parts of the compiler:
207207
@opindex I
208208
@item -I@var{dir}
209209
Add the directory @var{dir} to the list of directories to be searched
210-
for files when processing the @ref{pragmat include}. Multiple
210+
for files when processing the @ref{pragmat include}. Multiple
211211
@option{-I} options can be used, and the directories specified are
212-
scanned in left-to-right order, as with @command{gcc}.
212+
scanned in left-to-right order, as with @command{gcc}. The directory
213+
will also be added to the list of directories to be searched for module
214+
interface-definitions @ref{Module activation}.
215+
216+
@opindex L
217+
@item -L@var{dir}
218+
Add the directory @var{dir} to the list of directories to be searched
219+
for module interface-definitions @ref{Module activation}. Multiple
220+
@option{-L} options can be used, and the directories specified are
221+
scanned in left-to-right order, as with @command{gcc}. The directory
222+
will also be added to the list of library search directories, as with
223+
@command{gcc}.
213224

214225
@end table
215226

gcc/algol68/lang.opt.urls

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
I
44
UrlSuffix(gcc/Directory-Options.html#index-I) LangUrlSuffix_D(gdc/Directory-Options.html#index-I) LangUrlSuffix_Algol68(ga68/Directory-options.html#index-I)
55

6+
L
7+
UrlSuffix(gcc/Directory-Options.html#index-L) LangUrlSuffix_D(gdc/Directory-Options.html#index-L) LangUrlSuffix_Algol68(ga68/Directory-options.html#index-L)
8+
69
Wextensions
710
LangUrlSuffix_Algol68(ga68/Warnings-options.html#index-Wextensions)
811

gcc/common.opt.urls

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ UrlSuffix(gcc/Directory-Options.html#index-B) LangUrlSuffix_D(gdc/Directory-Opti
1414
; duplicate: 'gcc/Overall-Options.html#index-E'
1515

1616
L
17-
UrlSuffix(gcc/Directory-Options.html#index-L) LangUrlSuffix_D(gdc/Directory-Options.html#index-L)
17+
UrlSuffix(gcc/Directory-Options.html#index-L) LangUrlSuffix_D(gdc/Directory-Options.html#index-L) LangUrlSuffix_Algol68(ga68/Directory-options.html#index-L)
1818

1919
N
2020
UrlSuffix(gcc/Link-Options.html#index-N)

gcc/go/lang.opt.urls

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ I
44
UrlSuffix(gcc/Directory-Options.html#index-I) LangUrlSuffix_D(gdc/Directory-Options.html#index-I) LangUrlSuffix_Algol68(ga68/Directory-options.html#index-I)
55

66
L
7-
UrlSuffix(gcc/Directory-Options.html#index-L) LangUrlSuffix_D(gdc/Directory-Options.html#index-L)
7+
UrlSuffix(gcc/Directory-Options.html#index-L) LangUrlSuffix_D(gdc/Directory-Options.html#index-L) LangUrlSuffix_Algol68(ga68/Directory-options.html#index-L)
88

99
; skipping UrlSuffix for 'Wall' due to multiple URLs:
1010
; duplicate: 'gcc/Standard-Libraries.html#index-Wall-1'

gcc/m2/lang.opt.urls

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ I
4141
UrlSuffix(gcc/Directory-Options.html#index-I) LangUrlSuffix_D(gdc/Directory-Options.html#index-I) LangUrlSuffix_Algol68(ga68/Directory-options.html#index-I)
4242

4343
L
44-
UrlSuffix(gcc/Directory-Options.html#index-L) LangUrlSuffix_D(gdc/Directory-Options.html#index-L)
44+
UrlSuffix(gcc/Directory-Options.html#index-L) LangUrlSuffix_D(gdc/Directory-Options.html#index-L) LangUrlSuffix_Algol68(ga68/Directory-options.html#index-L)
4545

4646
M
4747
UrlSuffix(gcc/Preprocessor-Options.html#index-M) LangUrlSuffix_D(gdc/Code-Generation.html#index-M)

gcc/rust/lang.opt.urls

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ I
44
UrlSuffix(gcc/Directory-Options.html#index-I) LangUrlSuffix_D(gdc/Directory-Options.html#index-I) LangUrlSuffix_Algol68(ga68/Directory-options.html#index-I)
55

66
L
7-
UrlSuffix(gcc/Directory-Options.html#index-L) LangUrlSuffix_D(gdc/Directory-Options.html#index-L)
7+
UrlSuffix(gcc/Directory-Options.html#index-L) LangUrlSuffix_D(gdc/Directory-Options.html#index-L) LangUrlSuffix_Algol68(ga68/Directory-options.html#index-L)
88

99
; skipping UrlSuffix for 'Wall' due to multiple URLs:
1010
; duplicate: 'gcc/Standard-Libraries.html#index-Wall-1'

0 commit comments

Comments
 (0)