Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Jul 2018 19:39:21 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r336649 - head/share/man/man7
Message-ID:  <201807231939.w6NJdLlD081798@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste
Date: Mon Jul 23 19:39:20 2018
New Revision: 336649
URL: https://svnweb.freebsd.org/changeset/base/336649

Log:
  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

Modified:
  head/share/man/man7/arch.7

Modified: head/share/man/man7/arch.7
==============================================================================
--- head/share/man/man7/arch.7	Mon Jul 23 19:27:11 2018	(r336648)
+++ head/share/man/man7/arch.7	Mon Jul 23 19:39:20 2018	(r336649)
@@ -26,7 +26,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd February 5, 2018
+.Dd July 23, 2018
 .Dt ARCH 7
 .Os
 .Sh NAME
@@ -342,6 +342,10 @@ Architecture-specific macros:
 .It riscv64sf   Ta Dv __riscv, Dv __riscv_xlen == 64
 .It sparc64     Ta Dv __sparc64__
 .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
 Most of the externally settable variables are defined in the
 .Xr build 7



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201807231939.w6NJdLlD081798>