Print this page
6282 ONBLD man pages not pbchk clean
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com>
Reviewed by: Josef Sipek <jeffpc@josefsipek.net>
   1 cw(1ONBLD)                    illumos Build Tools                   cw(1ONBLD)
   2 
   3 
   4 
   5 NAME
   6        cw - invoke one or more compilers with argument translation
   7 
   8 SYNOPSIS
   9        cw {-_cc|-_gcc|-_CC|-_g++} [options] [compiler args...]
  10 
  11 DESCRIPTION
  12        cw is a facility for invoking one or more compilers, providing
  13        translation from Sun Studio arguments as appropriate.  This allows the
  14        use of arbitrary compilers without the need to alter large numbers of
  15        makefiles.  A mode called shadow compilation, the default, invokes two
  16        different compilers so that warnings and errors may be obtained from
  17        both.  See SHADOW COMPILATION for details.  This version of cw supports
  18        Sun Studio 10 and 11 and gcc 3.4.3 as shipped in Solaris.
  19 
  20 ARGUMENTS
  21        Exactly one of the following arguments is required, and must appear


 175 
 176        0   The primary compiler, and shadow compiler if invoked, both
 177            completed successfully.
 178 
 179        >0  A usage error occurred, or one or more compilers returned a nonzero
 180            exit status.
 181 
 182 BUGS
 183        The translations provided for gcc are not always exact and in some
 184        cases reflect local ON policy rather than actual equivalence.
 185 
 186        Additional compiler types should be supported.
 187 
 188        The translation engine is hacky.
 189 
 190 SEE ALSO
 191        cc(1), CC(1), gcc(1)
 192 
 193 
 194 
 195                                  22 March 2010                      cw(1ONBLD)
   1 CW(1ONBLD)                    illumos Build Tools                   CW(1ONBLD)
   2 
   3 
   4 
   5 NAME
   6        cw - invoke one or more compilers with argument translation
   7 
   8 SYNOPSIS
   9        cw {-_cc|-_gcc|-_CC|-_g++} [options] [compiler args...]
  10 
  11 DESCRIPTION
  12        cw is a facility for invoking one or more compilers, providing
  13        translation from Sun Studio arguments as appropriate.  This allows the
  14        use of arbitrary compilers without the need to alter large numbers of
  15        makefiles.  A mode called shadow compilation, the default, invokes two
  16        different compilers so that warnings and errors may be obtained from
  17        both.  See SHADOW COMPILATION for details.  This version of cw supports
  18        Sun Studio 10 and 11 and gcc 3.4.3 as shipped in Solaris.
  19 
  20 ARGUMENTS
  21        Exactly one of the following arguments is required, and must appear


 175 
 176        0   The primary compiler, and shadow compiler if invoked, both
 177            completed successfully.
 178 
 179        >0  A usage error occurred, or one or more compilers returned a nonzero
 180            exit status.
 181 
 182 BUGS
 183        The translations provided for gcc are not always exact and in some
 184        cases reflect local ON policy rather than actual equivalence.
 185 
 186        Additional compiler types should be supported.
 187 
 188        The translation engine is hacky.
 189 
 190 SEE ALSO
 191        cc(1), CC(1), gcc(1)
 192 
 193 
 194 
 195                                 March 22, 2010                      CW(1ONBLD)