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 build machine โ€” the one where the compilers actually get run ๐Ÿ› ๏ธ
  • the host machine โ€” the one where the package being built is gonna run ๐Ÿƒ
  • and the target machine โ€” 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 specify CC_FOR_BUILD is CC is a cross-compiler to the host machine. (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 to cc โœจ
  • 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:


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 ๐Ÿ’–๐Ÿฆ‹โœจ