{
    "mode": "man",
    "parameter": "gencmn",
    "section": "8",
    "url": "https://www.chedong.com/phpMan.php/man/gencmn/8/json",
    "generated": "2026-06-10T16:18:00Z",
    "synopsis": "gencmn [ -h, -?, --help ] [ -v, --verbose ] [ -c, --copyright | -C, --comment comment ] [ -d,\n--destdir destination ] [ -n, --name name ] [ -t, --type fileext ] [ -S,  --source  ]  [  -e,\n--entrypoint name ] maxsize [ listfilename ]",
    "sections": {
        "NAME": {
            "content": "gencmn - generate an ICU memory-mappable data file\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "gencmn [ -h, -?, --help ] [ -v, --verbose ] [ -c, --copyright | -C, --comment comment ] [ -d,\n--destdir destination ] [ -n, --name name ] [ -t, --type fileext ] [ -S,  --source  ]  [  -e,\n--entrypoint name ] maxsize [ listfilename ]\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "gencmn  takes  a  set of files and packages them as an ICU memory-mappable data file. The re‐\nsulting data file can then be used directly by ICU.\n\ngencmn reads a list of files to be packaged from either the supplied  listfilename  file,  or\nfrom  its  standard  output. It packages all the files from the list that are not bigger than\nmaxsize bytes, except if maxsize is 0, which indicates that there is no size limit on files.\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "",
            "subsections": [
                {
                    "name": "-h -? --help",
                    "content": "Print help about usage and exit.\n",
                    "flag": "-?",
                    "long": "--help"
                },
                {
                    "name": "-v --verbose",
                    "content": "Display extra informative messages during execution.\n",
                    "flag": "-v",
                    "long": "--verbose"
                },
                {
                    "name": "-c --copyright",
                    "content": "Include the ICU copyright notice in the resulting data.\n",
                    "flag": "-c",
                    "long": "--copyright"
                },
                {
                    "name": "-C --comment",
                    "content": "Include the specified comment in the resulting data instead of the ICU  copyright  no‐\ntice.\n",
                    "flag": "-C",
                    "long": "--comment"
                },
                {
                    "name": "-d --destdir",
                    "content": "Set  the  destination  directory to destination.  The default destination directory is\nspecified by the environment variable ICUDATA.\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": "-t --type",
                    "content": "Use type as the type of the data. This type is also used as the extension of the  gen‐\nerated data file. The default type ie dat.\n",
                    "flag": "-t",
                    "long": "--type"
                },
                {
                    "name": "-S --source",
                    "content": "Write a C source file with the table of contents of the data.\n",
                    "flag": "-S",
                    "long": "--source"
                },
                {
                    "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"
                }
            ]
        },
        "ENVIRONMENT": {
            "content": "ICUDATA  Specifies the directory containing ICU data. Defaults to ${prefix}/share/icu/70.1/.\nSome  tools  in ICU depend on the presence of the trailing slash. It is thus impor‐\ntant to make sure that it is present if ICUDATA is set.\n",
            "subsections": []
        },
        "VERSION": {
            "content": "70.1\n",
            "subsections": []
        },
        "COPYRIGHT": {
            "content": "Copyright (C) 2000-2001 IBM, Inc. and others.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "decmn(8)\n\n\n\nICU MANPAGE                                5 November 2001                                 GENCMN(8)",
            "subsections": []
        }
    },
    "summary": "gencmn - generate an ICU memory-mappable data file",
    "flags": [
        {
            "flag": "-?",
            "long": "--help",
            "arg": null,
            "description": "Print help about usage and exit."
        },
        {
            "flag": "-v",
            "long": "--verbose",
            "arg": null,
            "description": "Display extra informative messages during execution."
        },
        {
            "flag": "-c",
            "long": "--copyright",
            "arg": null,
            "description": "Include the ICU copyright notice in the resulting data."
        },
        {
            "flag": "-C",
            "long": "--comment",
            "arg": null,
            "description": "Include the specified comment in the resulting data instead of the ICU copyright no‐ tice."
        },
        {
            "flag": "-d",
            "long": "--destdir",
            "arg": null,
            "description": "Set the destination directory to destination. The default destination directory is specified by the environment variable ICUDATA."
        },
        {
            "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": "-t",
            "long": "--type",
            "arg": null,
            "description": "Use type as the type of the data. This type is also used as the extension of the gen‐ erated data file. The default type ie dat."
        },
        {
            "flag": "-S",
            "long": "--source",
            "arg": null,
            "description": "Write a C source file with the table of contents of the data."
        },
        {
            "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": [
        {
            "name": "decmn",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/decmn/8/json"
        }
    ]
}