man-pages/man8/gencmn.8.html
2021-03-31 01:06:50 +01:00

214 lines
4.3 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of GENCMN</TITLE>
</HEAD><BODY>
<H1>GENCMN</H1>
Section: ICU 66.1 Manual (8)<BR>Updated: 5 November 2001<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
<B>gencmn</B>
- generate an ICU memory-mappable data file
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<B>gencmn</B>
[
<B>-h</B>, <B>-?</B>, <B>--help</B>
]
[
<B>-v</B>, <B>--verbose</B>
]
[
<B>-c</B>, <B>--copyright</B>
|
<B>-C</B>, <B>--comment</B><I> comment</I>
]
[
<B>-d</B>, <B>--destdir</B><I> destination</I>
]
[
<B>-n</B>, <B>--name</B><I> name</I>
]
[
<B>-t</B>, <B>--type</B><I> fileext</I>
]
[
<B>-S</B>, <B>--source</B>
]
[
<B>-e</B>, <B>--entrypoint</B><I> name</I>
]
<I>maxsize</I>
[
<I>listfilename</I>
]
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
<B>gencmn</B>
takes a set of files and packages them as an ICU memory-mappable data
file. The resulting data file can then be used directly by ICU.
<P>
<B>gencmn</B>
reads a list of files to be packaged from either the
supplied
<I>listfilename</I>
file, or from its standard output. It packages all the files from
the list that are not bigger than
<I>maxsize</I>
bytes, except if
<I>maxsize</I>
is 0, which indicates that there is no size limit on files.
<A NAME="lbAE">&nbsp;</A>
<H2>OPTIONS</H2>
<DL COMPACT>
<DT id="1"><B>-h</B>, <B>-?</B>, <B>--help</B>
<DD>
Print help about usage and exit.
<DT id="2"><B>-v</B>, <B>--verbose</B>
<DD>
Display extra informative messages during execution.
<DT id="3"><B>-c</B>,<B>--copyright</B>
<DD>
Include the ICU copyright notice in the resulting data.
<DT id="4"><B>-C</B>, <B>--comment</B><I> comment</I>
<DD>
Include the specified
<I>comment</I>
in the resulting data instead of the ICU copyright notice.
<DT id="5"><B>-d</B>, <B>--destdir</B><I> destination</I>
<DD>
Set the destination directory to
<I>destination</I>.
The default destination directory is specified by the environment variable
<B>ICU_DATA</B>.
<DT id="6"><B>-n</B>, <B>--name</B><I> name</I>
<DD>
Set the data name to
<I>name</I>
instead of the default. This name is also used as the base name of the
output. The default name is made of the
<I>icudt</I>
prefix, followed by a two-digit version number corresponding to
the current version of the ICU release, and a single letter indicating
the endianness of the data (the letter
<I>b</I>
indicated big endian data, and the letter
<I>l</I>
indicates little endian ones).
<DT id="7"><B>-t</B>, <B>--type</B><I> type</I>
<DD>
Use
<I>type</I>
as the type of the data. This type is also used as the extension of
the generated data file. The default type ie
<I>dat</I>.
<DT id="8"><B>-S</B>, <B>--source</B>
<DD>
Write a C source file with the table of contents of the data.
<DT id="9"><B>-e</B>, <B>--entrypoint</B><I> name</I>
<DD>
Set the data entry point (used for linking against the data in a
shared library form) to
<I>name</I>.
The default entry point name is made of the data (set by the
<B>-n</B>, <B>--name</B>
option) followed by an underscore and the type of the data (set by the
<B>-t</B>, <B>--type</B>
option).
</DL>
<A NAME="lbAF">&nbsp;</A>
<H2>ENVIRONMENT</H2>
<DL COMPACT>
<DT id="10"><B>ICU_DATA</B>
<DD>
Specifies the directory containing ICU data. Defaults to
<B>${prefix}/share/icu/66.1/</B>.
Some tools in ICU depend on the presence of the trailing slash. It is thus
important to make sure that it is present if
<B>ICU_DATA</B>
is set.
</DL>
<A NAME="lbAG">&nbsp;</A>
<H2>VERSION</H2>
66.1
<A NAME="lbAH">&nbsp;</A>
<H2>COPYRIGHT</H2>
Copyright (C) 2000-2001 IBM, Inc. and others.
<A NAME="lbAI">&nbsp;</A>
<H2>SEE ALSO</H2>
<B><A HREF="/cgi-bin/man/man2html?8+decmn">decmn</A></B>(8)
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="11"><A HREF="#lbAB">NAME</A><DD>
<DT id="12"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="13"><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT id="14"><A HREF="#lbAE">OPTIONS</A><DD>
<DT id="15"><A HREF="#lbAF">ENVIRONMENT</A><DD>
<DT id="16"><A HREF="#lbAG">VERSION</A><DD>
<DT id="17"><A HREF="#lbAH">COPYRIGHT</A><DD>
<DT id="18"><A HREF="#lbAI">SEE ALSO</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:06:12 GMT, March 31, 2021
</BODY>
</HTML>