Skip to content

Commit 34c3be9

Browse files
author
Colin Robertson
authored
Fiddle with grammar and formatting.
1 parent d5d96fa commit 34c3be9

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

docs/build/reference/running-lib.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,26 +31,27 @@ You can pass command-line arguments to LIB in a command file using the following
3131
3232
The file *commandfile* is a text file. No space or tab is allowed between the at sign (**\@**) and the file name. There is no default extension; you must specify the full file name, including any extension. Wildcards cannot be used. You can specify an absolute or relative path with the file name.
3333

34-
In the command file, arguments can be separated by spaces or tabs, as they can on the command line; they can also be separated by newline characters. Use a semicolon (;) to mark a comment. LIB ignores all text from the semicolon to the end of the line.
34+
In the command file, arguments can be separated by spaces or tabs, as they can on the command line; they can also be separated by newline characters. Use a semicolon (**;**) to mark a comment. LIB ignores all text from the semicolon to the end of the line.
3535

3636
You can specify either all or part of the command line in a command file, and you can use more than one command file in a LIB command. LIB accepts the command-file input as if it were specified in that location on the command line. Command files cannot be nested. LIB echoes the contents of command files unless the /NOLOGO option is used.
3737

3838
## Using LIB Options
3939

40-
An option consists of an option specifier, which is either a dash ( - ) or a forward slash ( / ), followed by the name of the option. Option names cannot be abbreviated. Some options take an argument, specified after a colon (:). No spaces or tabs are allowed within an option specification. Use one or more spaces or tabs to separate option specifications on the command line. Option names and their keyword or file name arguments are not case sensitive, but identifiers used as arguments are case sensitive. LIB processes options in the order specified on the command line and in command files. If an option is repeated with different arguments, the last one to be processed takes precedence.
40+
An option consists of an option specifier, which is either a dash (**-**) or a forward slash (**/**), followed by the name of the option. Option names cannot be abbreviated. Some options take an argument, specified after a colon (**:**). No spaces or tabs are allowed within an option specification. Use one or more spaces or tabs to separate option specifications on the command line. Option names and their keyword or file name arguments are not case sensitive, but identifiers used as arguments are case sensitive. LIB processes options in the order specified on the command line and in command files. If an option is repeated with different arguments, the last one to be processed takes precedence.
4141

4242
The following options apply to all modes of LIB:
4343

4444
> **/ERRORREPORT** [**NONE** | **PROMPT** | **QUEUE** | **SEND**]
4545
46-
If lib.exe fails at runtime, you can use /ERRORREPORT to send information to Microsoft about these internal errors.
46+
If lib.exe fails at runtime, you can use **/ERRORREPORT** to send information to Microsoft about these internal errors.
4747

48-
For more information about /ERRORREPORT, see [/errorReport (Report Internal Compiler Errors)](../../build/reference/errorreport-report-internal-compiler-errors.md).
48+
For more information about **/ERRORREPORT**, see [/errorReport (Report Internal Compiler Errors)](../../build/reference/errorreport-report-internal-compiler-errors.md).
4949

5050
> **/LTCG**
5151
52-
"LTCG" stands for *link-time code generation* which enables build optimizations and requires cooperation between the compiler ([cl.exe](compiler-options.md)), LIB, and the linker ([LINK](linker-options.md)). Use this option to tell LIB that the inputs from cl.exe include object files that were generated by using the [/GL](gl-whole-program-optimization.md) compiler option. (If LIB.exe encounters such inputs and /LTCG is not specified, it will restart with /LTCG enabled after displaying an informational message.)
53-
In the build process, the output from LIB is sent to LINK, which has its own separate /LTCG option which is used to perform various optimizations include whole-program optimization, and profile-guided optimization (PGO) instrumentation. (See [/LTCG](ltcg-link-time-code-generation.md) for more information about the LINK option.)
52+
**/LTCG** enables *link-time code generation*, which enables build optimizations beyond what the compiler can provide for a single translation unit. **/LTCG** requires cooperation between the compiler ([cl.exe](compiler-options.md)), LIB, and the linker ([LINK](linker-options.md)). Use this option to tell LIB that the inputs from cl.exe include object files that were generated by using the [/GL](gl-whole-program-optimization.md) compiler option. If LIB.exe encounters such inputs and **/LTCG** is not specified, it will restart with /LTCG enabled after displaying an informational message.
53+
54+
In the build process, the output from LIB is sent to LINK. LINK has its own separate **/LTCG** option which is used to perform various optimizations, including whole-program optimization and profile-guided optimization (PGO) instrumentation. For more information about the LINK option, see [/LTCG](ltcg-link-time-code-generation.md).
5455

5556
> **/MACHINE**
5657
@@ -72,4 +73,4 @@ Other options apply only to specific modes of LIB. These options are discussed i
7273

7374
## See Also
7475

75-
[LIB Reference](../../build/reference/lib-reference.md)
76+
[LIB Reference](../../build/reference/lib-reference.md)

0 commit comments

Comments
 (0)