Print this page
6205 onbld manuals should be declared as 1onbld
Reviewed by: Dan McDonald <danmcd@omniti.com>
Reviewed by: Josef Sipek <jeffpc@josefsipek.net>


   4 .\" The contents of this file are subject to the terms of the
   5 .\" Common Development and Distribution License (the "License").
   6 .\" You may not use this file except in compliance with the License.
   7 .\"
   8 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9 .\" or http://www.opensolaris.org/os/licensing.
  10 .\" See the License for the specific language governing permissions
  11 .\" and limitations under the License.
  12 .\"
  13 .\" When distributing Covered Code, include this CDDL HEADER in each
  14 .\" file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15 .\" If applicable, add the following below this CDDL HEADER, with the
  16 .\" fields enclosed by brackets "[]" replaced with your own identifying
  17 .\" information: Portions Copyright [yyyy] [name of copyright owner]
  18 .\"
  19 .\" CDDL HEADER END
  20 .\"
  21 .\" Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
  22 .\" Use is subject to license terms.
  23 .\"
  24 .TH cw 1 "22 March 2010"
  25 .SH NAME
  26 .I cw
  27 \- invoke one or more compilers with argument translation
  28 .SH SYNOPSIS
  29 \fBcw {-_cc|-_gcc|-_CC|-_g++} [options] [compiler args...]\fP
  30 .LP
  31 .SH DESCRIPTION
  32 .IX "OS-Net build tools" "cw" "" "\fBcw\fP"
  33 .LP
  34 .I cw
  35 is a facility for invoking one or more compilers, providing
  36 translation from Sun Studio arguments as appropriate.  This allows
  37 the use of arbitrary compilers without the need to alter large
  38 numbers of makefiles.  A mode called shadow compilation, the default,
  39 invokes two different compilers so that warnings and errors may be
  40 obtained from both.  See SHADOW COMPILATION for details.  This version
  41 of cw supports Sun Studio 10 and 11 and gcc 3.4.3 as shipped in
  42 Solaris.
  43 .LP
  44 .SH ARGUMENTS




   4 .\" The contents of this file are subject to the terms of the
   5 .\" Common Development and Distribution License (the "License").
   6 .\" You may not use this file except in compliance with the License.
   7 .\"
   8 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9 .\" or http://www.opensolaris.org/os/licensing.
  10 .\" See the License for the specific language governing permissions
  11 .\" and limitations under the License.
  12 .\"
  13 .\" When distributing Covered Code, include this CDDL HEADER in each
  14 .\" file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15 .\" If applicable, add the following below this CDDL HEADER, with the
  16 .\" fields enclosed by brackets "[]" replaced with your own identifying
  17 .\" information: Portions Copyright [yyyy] [name of copyright owner]
  18 .\"
  19 .\" CDDL HEADER END
  20 .\"
  21 .\" Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
  22 .\" Use is subject to license terms.
  23 .\"
  24 .TH cw 1ONBLD "22 March 2010"
  25 .SH NAME
  26 .I cw
  27 \- invoke one or more compilers with argument translation
  28 .SH SYNOPSIS
  29 \fBcw {-_cc|-_gcc|-_CC|-_g++} [options] [compiler args...]\fP
  30 .LP
  31 .SH DESCRIPTION
  32 .IX "OS-Net build tools" "cw" "" "\fBcw\fP"
  33 .LP
  34 .I cw
  35 is a facility for invoking one or more compilers, providing
  36 translation from Sun Studio arguments as appropriate.  This allows
  37 the use of arbitrary compilers without the need to alter large
  38 numbers of makefiles.  A mode called shadow compilation, the default,
  39 invokes two different compilers so that warnings and errors may be
  40 obtained from both.  See SHADOW COMPILATION for details.  This version
  41 of cw supports Sun Studio 10 and 11 and gcc 3.4.3 as shipped in
  42 Solaris.
  43 .LP
  44 .SH ARGUMENTS