X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/b75a7d8f3b4adbae880cab104ce2c6a50eee4db2..5ea0322b6ab2af986e4c764284141380031dd014:/icuSources/tools/genccode/genccode.8.in diff --git a/icuSources/tools/genccode/genccode.8.in b/icuSources/tools/genccode/genccode.8.in index 6632628d..add079ed 100644 --- a/icuSources/tools/genccode/genccode.8.in +++ b/icuSources/tools/genccode/genccode.8.in @@ -2,18 +2,21 @@ .\" .\" genccode.8: manual page for the gennames utility .\" -.\" Copyright (C) 2000 IBM, Inc. and others. +.\" Copyright (C) 2003-2004 IBM, Inc. and others. .\" -.TH GENCCODE 8 "19 November 2001" "ICU MANPAGE" "ICU @VERSION@ Manual" +.TH GENCCODE 8 "11 March 2004" "ICU MANPAGE" "ICU @VERSION@ Manual" .SH NAME .B genccode -\- generate C code from an ICU data file +\- generate C or platform specific assembly code from an ICU data file. .SH SYNOPSIS .B genccode [ .BR "\-h\fP, \fB\-?\fP, \fB\-\-help" ] [ +.BI "\-a\fP, \fB\-\-assembly" " name" +] +[ .BI "\-d\fP, \fB\-\-destdir" " destination" ] [ @@ -23,6 +26,9 @@ .BI "\-e\fP, \fB\-\-entrypoint" " name" ] [ +.BI "\-f\fP, \fB\-\-filename" " name" +] +[ .IR filename " .\|.\|." ] .SH DESCRIPTION @@ -37,6 +43,15 @@ replacing dots by underscores, and adding a .I .c file extension. .PP +If the \fB-a\fP option is used, platform specific assembly +code is generated instead of C code. +Most C compilers will accept both C and assembly files. +Instead of writing a filename with a +.I .c +file extension, a filename with a +.I .s +will be written instead. +.PP If .B genccode is called with no @@ -47,6 +62,11 @@ it terminates gracefully. .BR "\-h\fP, \fB\-?\fP, \fB\-\-help" Print help about usage and exit. .TP +.BI "\-a\fP, \fB\-\-assembly" " name" +Output assembly code instead of C code. +Use \fB-h\fP to see the list of available types of assembly to generate and +to specify for this option. +.TP .BI "\-d\fP, \fB\-\-destdir" " destination" Set the destination directory to .IR destination . @@ -66,6 +86,11 @@ indicated big endian data, and the letter .I l indicates little endian ones). .TP +.BI "\-f\fP, \fB\-\-filename" " name" +Normally, an ICU data file such as mydata.icu will be turned into mydata_icu.c and mydata_icu.o. +However, if this parameter was set to "somedata", the output files will be somedata.o and +somedata.c, respectively. +.TP .BI "\-e\fP, \fB\-\-entrypoint" " name" Set the data entry point (used for linking against the data in a shared library form) to @@ -78,4 +103,4 @@ option). .SH VERSION @VERSION@ .SH COPYRIGHT -Copyright (C) 2000-2001 IBM, Inc. and others. +Copyright (C) 2000-2004 IBM, Inc. and others.