{
    "mode": "man",
    "parameter": "config.guess",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/config.guess/1/json",
    "generated": "2026-09-24T02:01:48Z",
    "synopsis": "config.guess [OPTION]",
    "sections": {
        "NAME": {
            "content": "config.guess - guess the build system triplet\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "config.guess [OPTION]\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "The  GNU build system distinguishes three types of machines, the `build' machine on which the\ncompilers are run, the `host' machine on which the package being built will run, and,  exclu‐\nsively  when  you  build a compiler, assembler etc., the `target' machine, for which the com‐\npiler being built will produce code.\n\nThis script will guess the type of the `build' machine.\n\nOutput the configuration name of the system `config.guess' is run on.\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "",
            "subsections": [
                {
                    "name": "-h --help",
                    "content": "print this help, then exit\n",
                    "flag": "-h",
                    "long": "--help"
                },
                {
                    "name": "-t --time-stamp",
                    "content": "print date of last modification, then exit\n",
                    "flag": "-t",
                    "long": "--time-stamp"
                },
                {
                    "name": "-v --version",
                    "content": "print version number, then exit\n",
                    "flag": "-v",
                    "long": "--version"
                }
            ]
        },
        "ENVIRONMENT VARIABLES": {
            "content": "config.guess might need to compile and run C code, hence it needs a compiler for the  `build'\nmachine:  use  the  environment variable `CCFORBUILD' to specify the compiler for the build\nmachine.  If `CCFORBUILD' is not  specified,  `CC'  will  be  used.   Be  sure  to  specify\n`CCFORBUILD' if `CC' is a cross-compiler to the `host' machine.\n\nCCFORBUILD    a native C compiler, defaults to `cc'\nCC              a native C compiler, CCFORBUILD is preferred\n",
            "subsections": []
        },
        "REPORTING BUGS": {
            "content": "Report bugs and patches to <config-patches@gnu.org>.\n\nOriginally written by Per Bothner.\nCopyright 1992-2022 Free Software Foundation, Inc.\n\nThis is free software; see the source for copying conditions.  There is NO warranty; not even\nfor MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n\nGNU config.guess (2022-01-09)               January 2022                             CONFIG.GUESS(1)",
            "subsections": []
        }
    },
    "summary": "config.guess - guess the build system triplet",
    "flags": [
        {
            "flag": "-h",
            "long": "--help",
            "arg": null,
            "description": "print this help, then exit"
        },
        {
            "flag": "-t",
            "long": "--time-stamp",
            "arg": null,
            "description": "print date of last modification, then exit"
        },
        {
            "flag": "-v",
            "long": "--version",
            "arg": null,
            "description": "print version number, then exit"
        }
    ],
    "examples": [],
    "see_also": []
}