1GENCCODE(8)                     ICU 69.1 Manual                    GENCCODE(8)
2
3
4

NAME

6       genccode  -  generate  C or platform specific assembly code from an ICU
7       data file.
8

SYNOPSIS

10       genccode [ -h, -?, --help ] [ -a, --assembly name  ]  [  -d,  --destdir
11       destination  ]  [  -n,  --name  name  ] [ -e, --entrypoint name ] [ -f,
12       --filename name ] [ filename ...  ]
13

DESCRIPTION

15       genccode reads each of the supplied filename and writes out  a  C  file
16       containing a compilable definition of the data in the data file.  The C
17       file name is made by taking the base name of the data filename, replac‐
18       ing dots by underscores, and adding a .c file extension.
19
20       If  the -a option is used, platform specific assembly code is generated
21       instead of C code.  Most C compilers will accept both  C  and  assembly
22       files.  Instead of writing a filename with a .c file extension, a file‐
23       name with a .s will be written instead.
24
25       If genccode is called with no filename it terminates gracefully.
26

OPTIONS

28       -h, -?, --help
29              Print help about usage and exit.
30
31       -a, --assembly name
32              Output assembly code instead of C code.  Use -h to see the  list
33              of  available  types  of assembly to generate and to specify for
34              this option.
35
36       -d, --destdir destination
37              Set the destination directory to destination.  The default  des‐
38              tination directory is the current directory.
39
40       -n, --name name
41              Set  the  data name to name instead of the default. This name is
42              also used as the base name of the output. The  default  name  is
43              made of the icudt prefix, followed by a two-digit version number
44              corresponding to the current version of the ICU release,  and  a
45              single  letter indicating the endianness of the data (the letter
46              b indicated big endian data, and the letter l  indicates  little
47              endian ones).
48
49       -f, --filename name
50              Normally,  an  ICU  data  file such as mydata.icu will be turned
51              into mydata_icu.c and mydata_icu.o.  However, if this  parameter
52              was  set  to "somedata", the output files will be somedata.o and
53              somedata.c, respectively.
54
55       -e, --entrypoint name
56              Set the data entry point (used for linking against the data in a
57              shared  library  form) to name.  The default entry point name is
58              made of the data (set by the -n, --name option) followed  by  an
59              underscore  and  the type of the data (set by the -t, --type op‐
60              tion).
61

VERSION

63       69.1
64
66       Copyright (C) 2000-2004 IBM, Inc. and others.
67
68
69
70ICU MANPAGE                      11 March 2004                     GENCCODE(8)
Impressum