]> git.saurik.com Git - apple/icu.git/blame - icuSources/tools/gencmn/gencmn.8.in
ICU-6.2.22.tar.gz
[apple/icu.git] / icuSources / tools / gencmn / gencmn.8.in
CommitLineData
b75a7d8f
A
1.\" Hey, Emacs! This is -*-nroff-*- you know...
2.\"
3.\" gencmn.8: manual page for the gencmn utility
4.\"
5.\" Copyright (C) 2000-2001 IBM, Inc. and others.
6.\"
7.\" Manual page by Yves Arrouye <yves@realnames.com>.
8.\"
9.TH GENCMN 8 "5 November 2001" "ICU MANPAGE" "ICU @VERSION@ Manual"
10.SH NAME
11.B gencmn
12\- generate an ICU memory-mappable data file
13.SH SYNOPSIS
14.B gencmn
15[
16.BR "\-h\fP, \fB\-?\fP, \fB\-\-help"
17]
18[
19.BR "\-v\fP, \fB\-\-verbose"
20]
21[
22.BR "\-c\fP, \fB\-\-copyright"
23|
24.BI "\-C\fP, \fB\-\-comment" " comment"
25]
26[
27.BI "\-d\fP, \fB\-\-destdir" " destination"
28]
29[
30.BI "\-n\fP, \fB\-\-name" " name"
31]
32[
33.BI "\-t\fP, \fB\-\-type" " fileext"
34]
35[
36.BI "\-S\fP, \fB\-\-source"
37]
38[
39.BI "\-e\fP, \fB\-\-entrypoint" " name"
40]
41.I maxsize
42[
43.I listfilename
44]
45.SH DESCRIPTION
46.B gencmn
47takes a set of files and packages them as an ICU memory-mappable data
48file. The resulting data file can then be used directly by ICU.
49.PP
50.B gencmn
51reads a list of files to be packaged from either the
52supplied
53.I listfilename
54file, or from its standard output. It packages all the files from
55the list that are not bigger than
56.I maxsize
57bytes, except if
58.I maxsize
59is 0, which indicates that there is no size limit on files.
60.SH OPTIONS
61.TP
62.BR "\-h\fP, \fB\-?\fP, \fB\-\-help"
63Print help about usage and exit.
64.TP
65.BR "\-v\fP, \fB\-\-verbose"
66Display extra informative messages during execution.
67.TP
68.BR \-c\fP, \fB\-\-copyright
69Include the ICU copyright notice in the resulting data.
70.TP
71.BI "\-C\fP, \fB\-\-comment" " comment"
72Include the specified
73.I comment
74in the resulting data instead of the ICU copyright notice.
75.TP
76.BI "\-d\fP, \fB\-\-destdir" " destination"
77Set the destination directory to
78.IR destination .
79The default destination directory is specified by the environment variable
80.BR ICU_DATA .
81.TP
82.BI "\-n\fP, \fB\-\-name" " name"
83Set the data name to
84.I name
85instead of the default. This name is also used as the base name of the
86output. The default name is made of the
87.I icudt
88prefix, followed by a two-digit version number corresponding to
89the current version of the ICU release, and a single letter indicating
90the endianness of the data (the letter
91.I b
92indicated big endian data, and the letter
93.I l
94indicates little endian ones).
95.TP
96.BI "\-t\fP, \fB\-\-type" " type"
97Use
98.I type
99as the type of the data. This type is also used as the extension of
100the generated data file. The default type ie
101.IR dat .
102.TP
103.BI "\-S\fP, \fB\-\-source"
104Write a C source file with the table of contents of the data.
105.TP
106.BI "\-e\fP, \fB\-\-entrypoint" " name"
107Set the data entry point (used for linking against the data in a
108shared library form) to
109.IR name .
110The default entry point name is made of the data (set by the
111.BI "\-n\fP, \fB\-\-name"
112option) followed by an underscore and the type of the data (set by the
113.BI "\-t\fP, \fB\-\-type"
114option).
115.SH ENVIRONMENT
116.TP 10
117.B ICU_DATA
118Specifies the directory containing ICU data. Defaults to
119.BR @thepkgicudatadir@/@PACKAGE@/@VERSION@/ .
120Some tools in ICU depend on the presence of the trailing slash. It is thus
121important to make sure that it is present if
122.B ICU_DATA
123is set.
124.SH VERSION
125@VERSION@
126.SH COPYRIGHT
127Copyright (C) 2000-2001 IBM, Inc. and others.
128.SH SEE ALSO
129.BR decmn (8)