---
name: "config.guess2.59"
section: "1"
platform: "linux"
package: "autoconf2.59"
version: "2.59+dfsg-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/config.guess2.59"
---

# config.guess2.59(1)

guess the build system triplet

## NAME

config.guess - guess the build system triplet

## SYNOPSIS

**config.guess** \[*OPTION*\]

## DESCRIPTION

The GNU build system distinguishes three types of machines, the \`build' machine on which the compilers are run, the \`host' machine on which the package being built will run, and, exclusively when you build a compiler, assembler etc., the \`target' machine, for which the compiler being built will produce code.

This script will guess the type of the \`build' machine.

Output the configuration name of the system \`config.guess' is run on.

### Operation modes:

- **-h**, **--help**

  print this help, then exit

- **-t**, **--time-stamp**

  print date of last modification, then exit

- **-v**, **--version**

  print version number, then exit

## ENVIRONMENT VARIABLES

config.guess might need to compile and run C code, hence it needs a compiler for the \`build' machine: use the environment variable \`CC\_FOR\_BUILD' to specify the compiler for the build machine.  If \`CC\_FOR\_BUILD' is not specified, \`CC' will be used.  Be sure to specify \`CC\_FOR\_BUILD' is \`CC' is a cross-compiler to the \`host' machine.

  CC\_FOR\_BUILD    a native C compiler, defaults to \`cc'\
   CC              a native C compiler, the previous variable is preferred

## REPORTING BUGS

Report bugs and patches to \<config-patches@gnu.org\>.

Originally written by Per Bothner. Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc.

This is free software; see the source for copying conditions.  There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

## SEE ALSO

[**autoconf**(1)](/autoconf/1.md), [**automake**(1)](/automake/1.md), [**autoreconf**(1)](/autoreconf/1.md), [**autoupdate**(1)](/autoupdate/1.md), [**autoheader**(1)](/autoheader/1.md), [**autoscan**(1)](/autoscan/1.md), [**config.guess**(1)](/config.guess/1.md), [**config.sub**(1)](/config.sub/1.md), [**ifnames**(1)](/ifnames/1.md), [**libtool**(1)](/libtool/1.md).
