arch.7: Clarify architecture-specific macro use
Compilers may define multiple variants of architecture-specific macros (for example, both __x86_64 and __x86_64__). Add a note that the macros documented in arch.7 are the preferred ones for FreeBSD. Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
da8e85391f
commit
f84d8f0ce5
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=336649
@ -26,7 +26,7 @@
|
|||||||
.\"
|
.\"
|
||||||
.\" $FreeBSD$
|
.\" $FreeBSD$
|
||||||
.\"
|
.\"
|
||||||
.Dd February 5, 2018
|
.Dd July 23, 2018
|
||||||
.Dt ARCH 7
|
.Dt ARCH 7
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
@ -342,6 +342,10 @@ Architecture-specific macros:
|
|||||||
.It riscv64sf Ta Dv __riscv, Dv __riscv_xlen == 64
|
.It riscv64sf Ta Dv __riscv, Dv __riscv_xlen == 64
|
||||||
.It sparc64 Ta Dv __sparc64__
|
.It sparc64 Ta Dv __sparc64__
|
||||||
.El
|
.El
|
||||||
|
.Pp
|
||||||
|
Compilers may define additional variants of architecture-specific macros.
|
||||||
|
The macros above are preferred for use in
|
||||||
|
.Fx .
|
||||||
.Ss Important Xr make 1 variables
|
.Ss Important Xr make 1 variables
|
||||||
Most of the externally settable variables are defined in the
|
Most of the externally settable variables are defined in the
|
||||||
.Xr build 7
|
.Xr build 7
|
||||||
|
Loading…
Reference in New Issue
Block a user