1 .\" Hey, Emacs! This is -*-nroff-*- you know...
3 .\" genccode.8: manual page for the gennames utility
5 .\" Copyright (C) 2003-2004 IBM, Inc. and others.
7 .TH GENCCODE 8 "11 March 2004" "ICU MANPAGE" "ICU @VERSION@ Manual"
10 \- generate C or platform specific assembly code from an ICU data file.
14 .BR "\-h\fP, \fB\-?\fP, \fB\-\-help"
17 .BI "\-a\fP, \fB\-\-assembly" " name"
20 .BI "\-d\fP, \fB\-\-destdir" " destination"
23 .BI "\-n\fP, \fB\-\-name" " name"
26 .BI "\-e\fP, \fB\-\-entrypoint" " name"
29 .BI "\-f\fP, \fB\-\-filename" " name"
32 .IR filename " .\|.\|."
36 reads each of the supplied
38 and writes out a C file containing a compilable definition of the data in
40 The C file name is made by taking the base name of the data
42 replacing dots by underscores, and adding a
46 If the \fB-a\fP option is used, platform specific assembly
47 code is generated instead of C code.
48 Most C compilers will accept both C and assembly files.
49 Instead of writing a filename with a
51 file extension, a filename with a
53 will be written instead.
59 it terminates gracefully.
62 .BR "\-h\fP, \fB\-?\fP, \fB\-\-help"
63 Print help about usage and exit.
65 .BI "\-a\fP, \fB\-\-assembly" " name"
66 Output assembly code instead of C code.
67 Use \fB-h\fP to see the list of available types of assembly to generate and
68 to specify for this option.
70 .BI "\-d\fP, \fB\-\-destdir" " destination"
71 Set the destination directory to
73 The default destination directory is the current directory.
75 .BI "\-n\fP, \fB\-\-name" " name"
78 instead of the default. This name is also used as the base name of the
79 output. The default name is made of the
81 prefix, followed by a two-digit version number corresponding to
82 the current version of the ICU release, and a single letter indicating
83 the endianness of the data (the letter
85 indicated big endian data, and the letter
87 indicates little endian ones).
89 .BI "\-f\fP, \fB\-\-filename" " name"
90 Normally, an ICU data file such as mydata.icu will be turned into mydata_icu.c and mydata_icu.o.
91 However, if this parameter was set to "somedata", the output files will be somedata.o and
92 somedata.c, respectively.
94 .BI "\-e\fP, \fB\-\-entrypoint" " name"
95 Set the data entry point (used for linking against the data in a
96 shared library form) to
98 The default entry point name is made of the data (set by the
99 .BI "\-n\fP, \fB\-\-name"
100 option) followed by an underscore and the type of the data (set by the
101 .BI "\-t\fP, \fB\-\-type"
106 Copyright (C) 2000-2004 IBM, Inc. and others.