Print this page
Revert "9899 cw(1onbld) should shadow more compilation" (leaks object files)
This reverts commit d0843a33a8ba49c316537132aa23e7df6d6fc64b.

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
 141      -.Nm cw
 142      -is invoked to link-edit without compilation (the input files are all objects),
 143      -the shadow compiler is not invoked.
      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.
 144  145  .It
 145  146  If the
 146  147  .Fl o Ar filename
 147  148  option was provided, with or without a separating space, it will be replaced with
 148  149  .Fl o Ar tempfile
 149  150  .It
 150  151  If the option
 151  152  .Fl o
 152  153  was not provided,
 153  154  .Fl o Ar tempfile
↓ open down ↓ 67 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX