man-pages/man1/config.guess.1.html
2021-03-31 01:06:50 +01:00

116 lines
3.6 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of CONFIG.GUESS</TITLE>
</HEAD><BODY>
<H1>CONFIG.GUESS</H1>
Section: User Commands (1)<BR>Updated: January 2020<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
config.guess - guess the build system triplet
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<B>config.guess</B>
[<I>,OPTION/</I>]
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
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.
<P>
This script will guess the type of the `build' machine.
<P>
Output the configuration name of the system `config.guess' is run on.
<A NAME="lbAE">&nbsp;</A>
<H2>OPTIONS</H2>
<DL COMPACT>
<DT id="1"><B>-h</B>, <B>--help</B><DD>
print this help, then exit
<DT id="2"><B>-t</B>, <B>--time-stamp</B><DD>
print date of last modification, then exit
<DT id="3"><B>-v</B>, <B>--version</B><DD>
print version number, then exit
</DL>
<A NAME="lbAF">&nbsp;</A>
<H2>ENVIRONMENT VARIABLES</H2>
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.
<P>
<BR>&nbsp;&nbsp;CC_FOR_BUILD&nbsp;&nbsp;&nbsp;&nbsp;a&nbsp;native&nbsp;C&nbsp;compiler,&nbsp;defaults&nbsp;to&nbsp;`cc'
<BR>&nbsp;&nbsp;CC&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;a&nbsp;native&nbsp;C&nbsp;compiler,&nbsp;the&nbsp;previous&nbsp;variable&nbsp;is&nbsp;preferred
<A NAME="lbAG">&nbsp;</A>
<H2>REPORTING BUGS</H2>
Report bugs and patches to &lt;<A HREF="mailto:config-patches@gnu.org">config-patches@gnu.org</A>&gt;.
<P>
<BR>
Originally written by Per Bothner.
<BR>
Copyright 1992-2018 Free Software Foundation, Inc.
<P>
<BR>
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
<A NAME="lbAH">&nbsp;</A>
<H2>SEE ALSO</H2>
<B><A HREF="/cgi-bin/man/man2html?1+autoconf">autoconf</A></B>(1),
<B><A HREF="/cgi-bin/man/man2html?1+automake">automake</A></B>(1),
<B><A HREF="/cgi-bin/man/man2html?1+autoreconf">autoreconf</A></B>(1),
<B><A HREF="/cgi-bin/man/man2html?1+autoupdate">autoupdate</A></B>(1),
<B><A HREF="/cgi-bin/man/man2html?1+autoheader">autoheader</A></B>(1),
<B><A HREF="/cgi-bin/man/man2html?1+autoscan">autoscan</A></B>(1),
<B><A HREF="/cgi-bin/man/man2html?1+config.guess">config.guess</A></B>(1),
<B><A HREF="/cgi-bin/man/man2html?1+config.sub">config.sub</A></B>(1),
<B><A HREF="/cgi-bin/man/man2html?1+ifnames">ifnames</A></B>(1),
<B><A HREF="/cgi-bin/man/man2html?1+libtool">libtool</A></B>(1).
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="4"><A HREF="#lbAB">NAME</A><DD>
<DT id="5"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="6"><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT id="7"><A HREF="#lbAE">OPTIONS</A><DD>
<DT id="8"><A HREF="#lbAF">ENVIRONMENT VARIABLES</A><DD>
<DT id="9"><A HREF="#lbAG">REPORTING BUGS</A><DD>
<DT id="10"><A HREF="#lbAH">SEE ALSO</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:05:09 GMT, March 31, 2021
</BODY>
</HTML>