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.man.txt
          +++ new/usr/src/tools/cw/cw.1onbld.man.txt
↓ open down ↓ 56 lines elided ↑ open up ↑
  57   57               such that a style of sun may use the flag -_cc= and a style of
  58   58               gnu may use the flag -_gcc=, and when the -C option is given and
  59   59               C++ is in use the style of sun may use the flag -_CC= and the
  60   60               style of gnu may use the flag -_g++=.
  61   61  
  62   62  SHADOW COMPILATION
  63   63       If --shadow compilers are specified cw will invoke each shadow compiler,
  64   64       with the outputs modified (as well as any translation for compiler style)
  65   65       as follows:
  66   66  
  67      -     1.   If cw is invoked to link-edit without compilation (the input files
  68      -          are all objects), the shadow compiler is not invoked.
       67 +     1.   If neither of -c, -S appears in the argument list (that is, linking
       68 +          is attempted or only the pre-processor is invoked), the shadow
       69 +          compilers will not be invoked.
  69   70  
  70   71       2.   If the -o filename option was provided, with or without a separating
  71   72            space, it will be replaced with -o tempfile
  72   73  
  73   74       3.   If the option -o was not provided, -o tempfile will be added to the
  74   75            end of the argument list used to invoke the shadow compilers.
  75   76       When shadow compilation is in effect, cw writes to standard error each
  76   77       compiler's standard error output following its argument list.  Messages
  77   78       from the compilers will not be interleaved.  If cw is used to invoke the
  78   79       preprocessor and no output location is specified, cw will write to
↓ open down ↓ 50 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX