Print this page
Revert "Revert most of "9899 cw(1onbld) should shadow more compilation""
This reverts commit 67deef8cbc83060db238a0f4ee252d1ba74641ef.

Split Close
Expand all
Collapse all
          --- old/usr/src/tools/cw/cw.1onbld
          +++ new/usr/src/tools/cw/cw.1onbld
↓ open down ↓ 129 lines elided ↑ open up ↑
 130  130  .El
 131  131  .Sh SHADOW COMPILATION
 132  132  If
 133  133  .Fl -shadow
 134  134  compilers are specified
 135  135  .Nm cw
 136  136  will invoke each shadow compiler, with the outputs modified (as well as any
 137  137  translation for compiler style) as follows:
 138  138  .Bl -enum
 139  139  .It
 140      -If neither of
 141      -.Fl c ,
 142      -.Fl S
 143      -appears in the argument list (that is, linking is attempted or only the
 144      -pre-processor is invoked), the shadow compilers will not be invoked.
      140 +If
      141 +.Nm cw
      142 +is invoked to link-edit without compilation (the input files are all objects),
      143 +the shadow compiler is not invoked.
 145  144  .It
 146  145  If the
 147  146  .Fl o Ar filename
 148  147  option was provided, with or without a separating space, it will be replaced with
 149  148  .Fl o Ar tempfile
 150  149  .It
 151  150  If the option
 152  151  .Fl o
 153  152  was not provided,
 154  153  .Fl o Ar tempfile
↓ open down ↓ 67 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX