config/doc/config.guess.1
Dmitry V. Levin af8d803a82 config.guess (aarch64:Linux:*:*): Detect 32-bit ABI
On x86_64 Linux, a C compiler producing 32bit code causes the guessed
CPU to be changed to i686.

Adapt this approach for aarch64 Linux, i.e. change the guessed CPU
to armv8l when a compiler producing arm eabi code is detected.

* config.guess (aarch64:Linux:*:*): Test for the 32-bit ABI.
* doc/config.guess.1: Regenerate.

Suggested-by: David Allsopp <david.allsopp@metastack.com>
2023-07-20 16:40:00 +00:00

49 lines
1.7 KiB
Groff

.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.48.5.
.TH CONFIG.GUESS "1" "July 2023" "GNU config.guess (2023-07-20)" "User Commands"
.SH NAME
config.guess \- guess the build system triplet
.SH SYNOPSIS
.B config.guess
[\fI\,OPTION\/\fR]
.SH DESCRIPTION
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.
This script will guess the type of the `build' machine.
.PP
Output the configuration name of the system 'config.guess' is run on.
.SH OPTIONS
.TP
\fB\-h\fR, \fB\-\-help\fR
print this help, then exit
.TP
\fB\-t\fR, \fB\-\-time\-stamp\fR
print date of last modification, then exit
.TP
\fB\-v\fR, \fB\-\-version\fR
print version number, then exit
.SH "ENVIRONMENT VARIABLES"
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' if `CC' is a cross-compiler to the `host'
machine.
CC_FOR_BUILD a native C compiler, defaults to `cc'
CC a native C compiler, CC_FOR_BUILD is preferred
.SH "REPORTING BUGS"
Report bugs and patches to <config\-patches@gnu.org>.
.PP
.br
Originally written by Per Bothner.
.br
Copyright 1992\-2023 Free Software Foundation, Inc.
.PP
.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.