OS Manuals

/usr/bin/genccode

International Components for Unicode library

From icu 79.1-r2 (os), captured 2026-11-10 by running genccode --help (exit 0). permalink

usage: /usr/bin/genccode [-options] filename1 filename2 ...
	read each binary input file and
	create a .c file with a byte array that contains the input file's data
options:
	-h or -? or --help  this usage text
	-d or --destdir     destination directory, followed by the path
	-q or --quiet       do not display warnings and progress
	-n or --name        symbol prefix, followed by the prefix
	-e or --entrypoint  entry point name, followed by the name (_dat will be appended)
	-r or --revision    Specify a version
	-o or --object      write a .obj file instead of .c
	-m or --match-arch file.o  match the architecture (CPU, 32/64 bits) of the specified .o
	                    ELF format defaults to i386. Windows defaults to the native platform.
	-c or --cpu-arch    Specify a CPU architecture for which to write a .obj file for ClangCL on Windows
	                    Valid values for this opton are x64, x86 and arm64.
	--skip-dll-export   Don't export the ICU data entry point symbol (for use when statically linking)
	-f or --filename    Specify an alternate base filename. (default: symbolname_typ)
	-a or --assembly    Create assembly file. (possible values are: gcc, gcc-darwin, gcc-darwin-ppc, gcc-cygwin, gcc-mingw64, sun, sun-x86, xlc, aCC-ia64, aCC-parisc, nasm, masm, masm64)
Options (12)
OptionDescriptionSource
-h, -?, --helpPrint help about usage and exit.help + man
-d, --destdir destinationSet the destination directory to destination.help + man
-q, --quietdo not display warnings and progresshelp
-n, --name nameSet the data name to name instead of the default.help + man
-e, --entrypoint nameSet the data entry point (used for linking against the data in a shared library form) to name.help + man
-r, --revisionSpecify a versionhelp
-o, --objectwrite a .obj file instead of .chelp
-m, --match-arch file.omatch the architecture (CPU, 32/64 bits) of the specified .o ELF format defaults to i386.help
-c, --cpu-archSpecify a CPU architecture for which to write a .obj file for ClangCL on Windows Valid values for this opton are x64, x86 and arm64.help
--skip-dll-exportDon't export the ICU data entry point symbol (for use when statically linking)help
-f, --filename nameNormally, an ICU data file such as mydata.icu will be turned into mydata_icu.c and mydata_icu.o.help + man
-a, --assembly nameOutput assembly code instead of C code.help + man

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.