Print this page
11461 should use a native link-editor during the build
11463 SUNWonld has passed its use-by date
11464 cmd/sgs/tools should contain tools, not common code
11465 sgsmsg should be built with the rest of the build tools

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/sgs/tools/man/chkmsg.1l
          +++ new/usr/src/cmd/sgs/tools/chkmsg.1l
   1      -.\" ident       "%Z%%M% %I%     %E% SMI"
   2    1  .\" Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
   3    2  .\" Use is subject to license terms.
   4    3  .\"
   5    4  .\" CDDL HEADER START
   6    5  .\"
   7    6  .\" The contents of this file are subject to the terms of the
   8    7  .\" Common Development and Distribution License, Version 1.0 only
   9    8  .\" (the "License").  You may not use this file except in compliance
  10    9  .\" with the License.
  11   10  .\"
↓ open down ↓ 4 lines elided ↑ open up ↑
  16   15  .\"
  17   16  .\" When distributing Covered Code, include this CDDL HEADER in each
  18   17  .\" file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  19   18  .\" If applicable, add the following below this CDDL HEADER, with the
  20   19  .\" fields enclosed by brackets "[]" replaced with your own identifying
  21   20  .\" information: Portions Copyright [yyyy] [name of copyright owner]
  22   21  .\"
  23   22  .\" CDDL HEADER END
  24   23  .\"
  25   24  .if n .tr \--
  26      -.TH chkmsg 1l "5 Apr 1997"
       25 +.TH chkmsg 1l "Apr 5, 1997"
  27   26  .SH NAME
  28      -chkmsg \- cross check messages 
       27 +chkmsg \- cross check messages
  29   28  .SH SYNOPSIS
  30   29  .B chkmsg
  31   30  .BI [ -64 ]
  32   31  .BI file
  33   32  .BI source_files ...
  34   33  .SH AVAILABILITY
  35   34  Internal to the linker group
  36   35  .SH DESCRIPTION
  37   36  chkmsg  checks the message identifiers defined in the input file
  38   37  and the message identifyer used in the input source_files. The input
  39   38  file is the input file which is used by the sgsmsg command.
  40   39  .P
  41      -The chkmsg command reads the input file and 
       40 +The chkmsg command reads the input file and
  42   41  generates two sets of message identifiers.
  43   42  The first set is
  44   43  the identifiers defined in between the _START_ and _END_ key words.
  45   44  These identifiers are intended to be referenced by MSG_INTL().
  46   45  This set is named as MSG_INTL_FROM_INPUT.
  47   46  .P
  48   47  The other set is
  49   48  the identifiers defined after the _END_ key words.
  50   49  These identifiers are intended to be referenced by MSG_ORIG().
  51   50  This set is named as MSG_ORIG_FROM_INPUT.
↓ open down ↓ 24 lines elided ↑ open up ↑
  76   75          char *msg;
  77   76                  |
  78   77          msg = MSG_ERROR_01;
  79   78                  |
  80   79          printf(MSG_INTL(msg));
  81   80                  |
  82   81  .fi
  83   82  .RE
  84   83  the identifyer MSG_ERROR_01 will not be included in MSG_INTL_FROM_SRC set.
  85   84  .P
  86      -There are two key words which can be used in the input file 
  87      -to control whether the identifier will be extracted into 
       85 +There are two key words which can be used in the input file
       86 +to control whether the identifier will be extracted into
  88   87  MSG_{INTL,ORIG}_FROM_ORIG or not. If the identifyer are
  89   88  surrounded by _CHKMSG_SKIP_BEGIN_ {sparc,i386}
  90   89  and _CHKMSG_SKIP_END_ {sparc,i386}, then
  91   90  the identifiers will not be included in the output set.
  92   91  The architecture being checked should be specified after
  93   92  the key works.
  94   93  These key words should be specified in the comment lines.
  95   94  For example, the input file could contain:
  96   95  .RS
  97   96  .nf
↓ open down ↓ 9 lines elided ↑ open up ↑
 107  106  .SH OPTIONS
 108  107  .TP 12
 109  108  .B \-64
 110  109  Use a 64-bit version of the machine type (i.e. sparc => sparcv9).
 111  110  Note that this option must be specified first on the command line.
 112  111  .SH "SEE ALSO"
 113  112  .BR gencat (1),
 114  113  .BR ld (1),
 115  114  .BR msgfmt (1),
 116  115  .BR catgets (3C),
 117      -.BR gettext (3I).
 118      -.BR sgsmsg (1l).
 119      -.br
 120      -.TZ LLM
      116 +.BR gettext (3C).
      117 +.BR sgsmsg (1ONBLD).
 121  118  .if n .tr \-\-
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX