CONFIG.GUESS(1)

πŸ“¦ version 2.64, in debian bookworm, ubuntu jammy, ubuntu noble

🌸 CONFIG.GUESS(1) β€” User Commands 🌸

okay bestie, sit down, hydrate, and let's talk about config.guess πŸ’– it's a lil script that guesses the build system triplet, and honestly? it's giving humble but essential. manual name is CONFIG.GUESS(1), no cap. πŸŽ€


✨ NAME ✨

config.guess β€” guess the build system triplet πŸ¦‹


πŸ’… SYNOPSIS πŸ’…

config.guess [OPTION]

🌈 DESCRIPTION 🌈

okay so the GNU build system is out here distinguishing three types of machines, and you gotta know all of them:

  • the build machine β€” the one where the compilers actually get run πŸ‘‘
  • the host machine β€” the one where the package you're building will run πŸ’œ
  • and the target machine β€” which only shows up when you're building a compiler, assembler, etc., and it's the machine the compiler you're building will produce code for 🧚

This script will guess the type of the build machine. periodt.

It outputs the configuration name of the system config.guess is run on. that's literally the whole job and it ate. ✨

πŸŽ€ 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 πŸ’œ

ngl, config.guess might need to compile and run C code, which means it needs a compiler for the build machine. so here's the tea:

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>. fr fr, they wanna hear from you.

Originally written by Per Bothner. Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 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. bestie, read that again. πŸ’€


πŸ‘‘ SEE ALSO πŸ‘‘

autoconf(1), automake(1), autoreconf(1), autoupdate(1), autoheader(1), autoscan(1), config.guess(1), config.sub(1), ifnames(1), libtool(1).

the whole autotools friend group, iykyk πŸ¦‹


and that's the whole page, bestie πŸ’– this one shipped as part of GNU Autoconf 2.64, dated July 2009 β€” vintage but iconic, the way it still just vibes in your build tree. stay guessing those triplets, mwah πŸ’…βœ¨

πŸ“¦ where this page comes from