1GENCMN(8) ICU 4.4.1 Manual GENCMN(8)
2
3
4
6 gencmn - generate an ICU memory-mappable data file
7
9 gencmn [ -h, -?, --help ] [ -v, --verbose ] [ -c, --copyright | -C,
10 --comment comment ] [ -d, --destdir destination ] [ -n, --name name ] [
11 -t, --type fileext ] [ -S, --source ] [ -e, --entrypoint name ] maxsize
12 [ listfilename ]
13
15 gencmn takes a set of files and packages them as an ICU memory-mappable
16 data file. The resulting data file can then be used directly by ICU.
17
18 gencmn reads a list of files to be packaged from either the supplied
19 listfilename file, or from its standard output. It packages all the
20 files from the list that are not bigger than maxsize bytes, except if
21 maxsize is 0, which indicates that there is no size limit on files.
22
24 -h, -?, --help
25 Print help about usage and exit.
26
27 -v, --verbose
28 Display extra informative messages during execution.
29
30 -c,--copyright
31 Include the ICU copyright notice in the resulting data.
32
33 -C, --comment comment
34 Include the specified comment in the resulting data instead of
35 the ICU copyright notice.
36
37 -d, --destdir destination
38 Set the destination directory to destination. The default des‐
39 tination directory is specified by the environment variable
40 ICU_DATA.
41
42 -n, --name name
43 Set the data name to name instead of the default. This name is
44 also used as the base name of the output. The default name is
45 made of the icudt prefix, followed by a two-digit version number
46 corresponding to the current version of the ICU release, and a
47 single letter indicating the endianness of the data (the letter
48 b indicated big endian data, and the letter l indicates little
49 endian ones).
50
51 -t, --type type
52 Use type as the type of the data. This type is also used as the
53 extension of the generated data file. The default type ie dat.
54
55 -S, --source
56 Write a C source file with the table of contents of the data.
57
58 -e, --entrypoint name
59 Set the data entry point (used for linking against the data in a
60 shared library form) to name. The default entry point name is
61 made of the data (set by the -n, --name option) followed by an
62 underscore and the type of the data (set by the -t, --type
63 option).
64
66 ICU_DATA Specifies the directory containing ICU data. Defaults to
67 /usr/share/icu/4.4.1/. Some tools in ICU depend on the pres‐
68 ence of the trailing slash. It is thus important to make sure
69 that it is present if ICU_DATA is set.
70
72 4.4.1
73
75 Copyright (C) 2000-2001 IBM, Inc. and others.
76
78 decmn(8)
79
80
81
82ICU MANPAGE 5 November 2001 GENCMN(8)