@@ -1130,7 +1130,7 @@ when encountering an otherwise unexplained error.</para>
1130
1130
(When
1131
1131
&scons;
1132
1132
is executed without the
1133
- <option >-j</option >
1133
+ <link linkend = " opt-jobs " >< option >-j</option ></ link >
1134
1134
option,
1135
1135
the elapsed wall-clock time will typically
1136
1136
be slightly longer than the total time spent
@@ -1142,7 +1142,7 @@ When
1142
1142
is executed
1143
1143
<emphasis >with</emphasis >
1144
1144
the
1145
- <option >-j</option >
1145
+ <link linkend = " opt-jobs " >< option >-j</option ></ link >
1146
1146
option,
1147
1147
and your build configuration allows good parallelization,
1148
1148
the elapsed wall-clock time should
@@ -2289,7 +2289,7 @@ which can yield unpredictable behavior with some compilers.</para>
2289
2289
<varlistentry >
2290
2290
<term ><emphasis role =" bold" >future-reserved-variable</emphasis ></term >
2291
2291
<listitem >
2292
- <para >Warnings about construction variables which
2292
+ <para >Warnings about &consvars; which
2293
2293
are currently allowed,
2294
2294
but will become reserved variables in a future release.
2295
2295
</para >
@@ -2377,7 +2377,7 @@ Add another "-no" to disable.
2377
2377
<listitem >
2378
2378
<para >Warnings about the version of &Python;
2379
2379
not being able to support parallel builds when the
2380
- <option >-j</option >
2380
+ <link linkend = " opt-jobs " >< option >-j</option ></ link >
2381
2381
option is used.
2382
2382
These warnings are enabled by default.</para >
2383
2383
<para >
@@ -2619,7 +2619,7 @@ settings. Otherwise, &f-env-Clone; takes the same arguments as
2619
2619
&SCons; provides a special &consenv; called the
2620
2620
<firstterm >&DefEnv; </firstterm >.
2621
2621
The &defenv; is used only for global functions, that is,
2622
- construction activities called without the context of a regular &consenv; .
2622
+ build requests called without the context of a regular &consenv; .
2623
2623
See &f-link-DefaultEnvironment; for more information.
2624
2624
</para >
2625
2625
@@ -5890,7 +5890,7 @@ Adding new Tool modules is described in
5890
5890
<title >Builder Objects</title >
5891
5891
5892
5892
<para >&scons;
5893
- can be extended to build different types of targets
5893
+ can be extended to build additional types of targets
5894
5894
by adding new Builder objects
5895
5895
to a &consenv; .
5896
5896
<emphasis >In general</emphasis >,
@@ -5899,7 +5899,7 @@ when you want to build a new type of file or other external target.
5899
5899
For output file types &scons; already knows about,
5900
5900
you can usually modify the behavior of premade Builders
5901
5901
such as &b-link-Program; , &b-link-Object; or &b-link-Library;
5902
- by changing the &consvars; they use
5902
+ by changing the &consvars; that control their behavior
5903
5903
(&cv-link-CC; , &cv-link-LINK; , etc.).
5904
5904
In this manner you can, for example, change the compiler to use,
5905
5905
which is simpler and less error-prone than writing a new builder.
@@ -5911,8 +5911,8 @@ The documentation for each Builder lists which
5911
5911
using the
5912
5912
&f-link-Builder;
5913
5913
factory function.
5914
- Once created, a builder is added to an environment
5915
- by entering it in the &cv-link-BUILDERS; dictionary
5914
+ Once created, a builder is added to a &consenv;
5915
+ by registering it in the &cv-link-BUILDERS; dictionary
5916
5916
in that environment (some of the examples
5917
5917
in this section illustrate this).
5918
5918
Doing so automatically triggers &SCons; to add a method
@@ -6445,16 +6445,14 @@ env.MyBuild('sub/dir/foo.out', 'sub/dir/foo.in')
6445
6445
6446
6446
<warning >
6447
6447
<para >
6448
- &Python; only keeps one current directory
6449
- location even if there are multiple threads.
6448
+ &Python; only tracks one current directory location,
6449
+ even if there are multiple executing threads.
6450
6450
This means that use of the
6451
6451
<parameter >chdir</parameter >
6452
- argument
6453
- will
6452
+ argument will
6454
6453
<emphasis >not</emphasis >
6455
- work with the SCons
6456
- <option >-j</option >
6457
- option,
6454
+ work with &SCons; in multi-threaded mode
6455
+ (the <link linkend =" opt-jobs" ><option >-j</option ></link > option),
6458
6456
because individual worker threads spawned
6459
6457
by SCons interfere with each other
6460
6458
when they start changing directory.</para >
@@ -6466,8 +6464,8 @@ when they start changing directory.</para>
6466
6464
<para >Any additional keyword arguments supplied
6467
6465
when a Builder object is created
6468
6466
(that is, when the &f-link-Builder; function is called)
6469
- will be set in the executing construction
6470
- environment when the Builder object is called.
6467
+ will be set in the executing &consenv;
6468
+ when the Builder object is called.
6471
6469
The canonical example here would be
6472
6470
to set a &consvar; to
6473
6471
the repository of a source code system.</para >
@@ -6629,7 +6627,7 @@ will expand &consvars; in any argument strings,
6629
6627
including
6630
6628
<parameter >action</parameter >,
6631
6629
at the time it is called,
6632
- using the construction variables in the &consenv; through which
6630
+ using the &consvars; in the &consenv; through which
6633
6631
it was called. The global function form &f-link-Action;
6634
6632
delays variable expansion until
6635
6633
the Action object is actually used.
0 commit comments