CONFIG.GUESS(1)
๐ CONFIG.GUESS ๐
okay bestie, this is the manual page for config.guess, a lil' User Commands girly that does exactly one thing and does it flawlessly. she's been around since forever and she's still the moment. let's get into it ๐
โจ NAME โจ
config.guess โ guess the build system triplet ๐ฎ
๐ธ SYNOPSIS ๐ธ
config.guess [OPTION]
๐ฆ DESCRIPTION ๐ฆ
so the GNU build system is lowkey obsessed with the idea that there are three types of machines, and she keeps them all straight:
- the
buildmachine โ the one where the compilers actually get run ๐ ๏ธ - the
hostmachine โ the one where the package being built is gonna run ๐ - and the
targetmachine โ which only shows up when you're building a compiler, an assembler, etc., and it's the machine that the compiler you're building will produce code for ๐ฏ
This script will guess the type of the build machine. that's it. that's her whole job.
she outputs the configuration name of the system that config.guess is being run on. periodt. ๐
๐ Operation modes ๐
the three lil' modes she can be in, pick one and she'll do the thing then dip:
-h,--helpโ print this help, then exit ๐-t,--time-stampโ print the date of last modification, then exit โฐ-v,--versionโ print the version number, then exit ๐ข
๐ ENVIRONMENT VARIABLES ๐
bestie, here's the tea: config.guess might need to compile and run C code, so she 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, then CC will be used instead.
โ ๏ธ Be sure to specifyCC_FOR_BUILDisCCis a cross-compiler to thehostmachine. (yes literally, that's how it's written, don't come for me ๐ญ)
and here's the lineup:
CC_FOR_BUILDโ a native C compiler, defaults toccโจCCโ a native C compiler, but the previous variable is preferred ๐
so like, if both exist, CC_FOR_BUILD wins. she said ladies first fr fr ๐ซถ
๐ REPORTING BUGS ๐
got bugs? got patches? send them over to <config-patches@gnu.org> ๐ฎ
Originally written by Per Bothner.
Copyright ยฉ 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 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. like, none. zero. she said don't sue me, I'm just a script ๐
๐ SEE ALSO ๐
the whole friend group, go say hi:
autoconf(1)automake(1)autoreconf(1)autoupdate(1)autoheader(1)autoscan(1)config.guess(1)config.sub(1)ifnames(1)libtool(1)
and that's the whole page, bestie!! this icon came to you from GNU Autoconf 2.68b.24-84e2, dated April 2012 โ yeah she's vintage, she's a classic, she's that girl ๐ mwah, go guess some triplets ๐๐ฆโจ
๐ฆ where this page comes from
- debian bookworm: autoconf2.69 2.69-3.1 ยท GPL-3.0-or-later
- debian trixie: autoconf2.69 2.69-3.1 ยท GPL-3.0-or-later
- ubuntu jammy: autoconf2.69 2.69-3 ยท GPL-3.0-or-later
- ubuntu noble: autoconf2.69 2.69-3.1 ยท GPL-3.0-or-later
- ubuntu resolute: autoconf2.69 2.69-5 ยท GPL-3.0-or-later
- ubuntu stonking: autoconf2.69 2.69-5 ยท GPL-3.0-or-later
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms