xref: /netbsd-src/external/gpl3/autoconf/dist/man/config.guess.x (revision d874e91932377fc40d53f102e48fc3ee6f4fe9de)
1*d874e919Schristos --no-info
2*d874e919Schristos 
3*d874e919Schristos [name]
4*d874e919Schristos config.guess \- guess the build system triplet
5*d874e919Schristos 
6*d874e919Schristos [Environment variables]
7*d874e919Schristos config.guess might need to compile and run C code, hence it needs a
8*d874e919Schristos compiler for the `build' machine: use the environment variable
9*d874e919Schristos `CC_FOR_BUILD' to specify the compiler for the build machine.  If
10*d874e919Schristos `CC_FOR_BUILD' is not specified, `CC' will be used.  Be sure to
11*d874e919Schristos specify `CC_FOR_BUILD' is `CC' is a cross-compiler to the `host'
12*d874e919Schristos machine.
13*d874e919Schristos 
14*d874e919Schristos   CC_FOR_BUILD    a native C compiler, defaults to `cc'
15*d874e919Schristos   CC              a native C compiler, the previous variable is preferred
16*d874e919Schristos 
17*d874e919Schristos [description]
18*d874e919Schristos The GNU build system distinguishes three types of machines, the
19*d874e919Schristos `build' machine on which the compilers are run, the `host' machine
20*d874e919Schristos on which the package being built will run, and, exclusively when you
21*d874e919Schristos build a compiler, assembler etc., the `target' machine, for which the
22*d874e919Schristos compiler being built will produce code.
23*d874e919Schristos 
24*d874e919Schristos This script will guess the type of the `build' machine.
25