{
    "content": [
        {
            "type": "text",
            "text": "# genccode (man)\n\n## NAME\n\ngenccode - generate C or platform specific assembly code from an ICU data file.\n\n## SYNOPSIS\n\ngenccode  [  -h,  -?,  --help  ]  [ -a, --assembly name ] [ -d, --destdir destination ] [ -n,\n--name name ] [ -e, --entrypoint name ] [ -f, --filename name ] [ filename ...  ]\n\n## DESCRIPTION\n\ngenccode reads each of the supplied filename and writes out a C file containing a  compilable\ndefinition  of the data in the data file.  The C file name is made by taking the base name of\nthe data filename, replacing dots by underscores, and adding a .c file extension.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **OPTIONS** (6 subsections)\n- **VERSION**\n- **COPYRIGHT**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "genccode",
        "section": "",
        "mode": "man",
        "summary": "genccode - generate C or platform specific assembly code from an ICU data file.",
        "synopsis": "genccode  [  -h,  -?,  --help  ]  [ -a, --assembly name ] [ -d, --destdir destination ] [ -n,\n--name name ] [ -e, --entrypoint name ] [ -f, --filename name ] [ filename ...  ]",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [
            {
                "flag": "-?",
                "long": "--help",
                "arg": null,
                "description": "Print help about usage and exit."
            },
            {
                "flag": "-a",
                "long": "--assembly",
                "arg": null,
                "description": "Output assembly code instead of C code. Use -h to see the list of available types of assembly to generate and to specify for this option."
            },
            {
                "flag": "-d",
                "long": "--destdir",
                "arg": null,
                "description": "Set the destination directory to destination. The default destination directory is the current directory."
            },
            {
                "flag": "-n",
                "long": "--name",
                "arg": null,
                "description": "Set the data name to name instead of the default. This name is also used as the base name of the output. The default name is made of the icudt prefix, followed by a two- digit version number corresponding to the current version of the ICU release, and a single letter indicating the endianness of the data (the letter b indicated big endian data, and the letter l indicates little endian ones)."
            },
            {
                "flag": "-f",
                "long": "--filename",
                "arg": null,
                "description": "Normally, an ICU data file such as mydata.icu will be turned into mydataicu.c and my‐ dataicu.o. However, if this parameter was set to \"somedata\", the output files will be somedata.o and somedata.c, respectively."
            },
            {
                "flag": "-e",
                "long": "--entrypoint",
                "arg": null,
                "description": "Set the data entry point (used for linking against the data in a shared library form) to name. The default entry point name is made of the data (set by the -n, --name op‐ tion) followed by an underscore and the type of the data (set by the -t, --type op‐ tion)."
            }
        ],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 10,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "-h -? --help",
                        "lines": 2,
                        "flag": "-?",
                        "long": "--help"
                    },
                    {
                        "name": "-a --assembly",
                        "lines": 3,
                        "flag": "-a",
                        "long": "--assembly"
                    },
                    {
                        "name": "-d --destdir",
                        "lines": 3,
                        "flag": "-d",
                        "long": "--destdir"
                    },
                    {
                        "name": "-n --name",
                        "lines": 6,
                        "flag": "-n",
                        "long": "--name"
                    },
                    {
                        "name": "-f --filename",
                        "lines": 4,
                        "flag": "-f",
                        "long": "--filename"
                    },
                    {
                        "name": "-e --entrypoint",
                        "lines": 5,
                        "flag": "-e",
                        "long": "--entrypoint"
                    }
                ]
            },
            {
                "name": "VERSION",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "COPYRIGHT",
                "lines": 5,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "genccode - generate C or platform specific assembly code from an ICU data file.\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "genccode  [  -h,  -?,  --help  ]  [ -a, --assembly name ] [ -d, --destdir destination ] [ -n,\n--name name ] [ -e, --entrypoint name ] [ -f, --filename name ] [ filename ...  ]\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "genccode reads each of the supplied filename and writes out a C file containing a  compilable\ndefinition  of the data in the data file.  The C file name is made by taking the base name of\nthe data filename, replacing dots by underscores, and adding a .c file extension.\n\nIf the -a option is used, platform specific assembly code is generated  instead  of  C  code.\nMost C compilers will accept both C and assembly files.  Instead of writing a filename with a\n.c file extension, a filename with a .s will be written instead.\n\nIf genccode is called with no filename it terminates gracefully.\n",
                "subsections": []
            },
            "OPTIONS": {
                "content": "",
                "subsections": [
                    {
                        "name": "-h -? --help",
                        "content": "Print help about usage and exit.\n",
                        "flag": "-?",
                        "long": "--help"
                    },
                    {
                        "name": "-a --assembly",
                        "content": "Output assembly code instead of C code.  Use -h to see the list of available types  of\nassembly to generate and to specify for this option.\n",
                        "flag": "-a",
                        "long": "--assembly"
                    },
                    {
                        "name": "-d --destdir",
                        "content": "Set  the  destination  directory to destination.  The default destination directory is\nthe current directory.\n",
                        "flag": "-d",
                        "long": "--destdir"
                    },
                    {
                        "name": "-n --name",
                        "content": "Set the data name to name instead of the default. This name is also used as  the  base\nname  of  the output. The default name is made of the icudt prefix, followed by a two-\ndigit version number corresponding to the current version of the ICU  release,  and  a\nsingle letter indicating the endianness of the data (the letter b indicated big endian\ndata, and the letter l indicates little endian ones).\n",
                        "flag": "-n",
                        "long": "--name"
                    },
                    {
                        "name": "-f --filename",
                        "content": "Normally, an ICU data file such as mydata.icu will be turned into mydataicu.c and my‐\ndataicu.o.   However,  if this parameter was set to \"somedata\", the output files will\nbe somedata.o and somedata.c, respectively.\n",
                        "flag": "-f",
                        "long": "--filename"
                    },
                    {
                        "name": "-e --entrypoint",
                        "content": "Set the data entry point (used for linking against the data in a shared library  form)\nto  name.  The default entry point name is made of the data (set by the -n, --name op‐\ntion) followed by an underscore and the type of the data (set by the  -t,  --type  op‐\ntion).\n",
                        "flag": "-e",
                        "long": "--entrypoint"
                    }
                ]
            },
            "VERSION": {
                "content": "70.1\n",
                "subsections": []
            },
            "COPYRIGHT": {
                "content": "Copyright (C) 2000-2004 IBM, Inc. and others.\n\n\n\nICU MANPAGE                                 11 March 2004                                GENCCODE(8)",
                "subsections": []
            }
        }
    }
}