From 500293d8dce663dafea7482f06a6c828faf4e88b Mon Sep 17 00:00:00 2001 From: Dmitri Shuralyov Date: Tue, 19 Jun 2018 16:14:00 -0400 Subject: [PATCH] doc: update "Mac OS X", "OS X" to macOS; bump up to 10.10 The name was "Mac OS X" during versions 10.0 to 10.7. It was renamed to "OS X" starting from 10.8 until 10.11. The current name is "macOS" starting with 10.12. [1] Previous changes (e.g., CL 47252) updated "Mac OS X" to macOS in some places, but not everywhere. This CL updates remaining instances for consistency. Only the pages that display current information were updated; historical pages such as release notes for older Go releases, past articles, blog posts, etc., were left in original form. Rename the "#osx" anchor to "#macos" on /doc/install page, along with the single reference to it on the same page. Add an empty div with id="osx" to not break old links. Update minimum macOS version from 10.8 to 10.10 per #23122. [1]: https://en.wikipedia.org/wiki/macOS#History Updates #23122. Change-Id: I69fe4b85e83265b9d99f447e3cc5230dde094869 Reviewed-on: https://go-review.googlesource.com/119855 Reviewed-by: Brad Fitzpatrick --- doc/debugging_with_gdb.html | 2 +- doc/go_faq.html | 2 +- doc/install-source.html | 4 ++-- doc/install.html | 12 ++++++------ doc/root.html | 2 +- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/doc/debugging_with_gdb.html b/doc/debugging_with_gdb.html index ca9d9a7c46..f3b4e37a28 100644 --- a/doc/debugging_with_gdb.html +++ b/doc/debugging_with_gdb.html @@ -57,7 +57,7 @@ Besides this overview you might want to consult the

When you compile and link your Go programs with the gc toolchain -on Linux, Mac OS X, FreeBSD or NetBSD, the resulting binaries contain DWARFv4 +on Linux, macOS, FreeBSD or NetBSD, the resulting binaries contain DWARFv4 debugging information that recent versions (≥7.5) of the GDB debugger can use to inspect a live process or a core dump.

diff --git a/doc/go_faq.html b/doc/go_faq.html index e83408e6f1..e020ce12c1 100644 --- a/doc/go_faq.html +++ b/doc/go_faq.html @@ -1396,7 +1396,7 @@ reservation does not deprive other processes of memory.

To find the amount of actual memory allocated to a Go process, use the Unix top command and consult the RES (Linux) or -RSIZE (Mac OS X) columns. +RSIZE (macOS) columns.

diff --git a/doc/install-source.html b/doc/install-source.html index 844fb002f7..f6d9473d9b 100644 --- a/doc/install-source.html +++ b/doc/install-source.html @@ -98,7 +98,7 @@ goroutines, such as stacks that grow and shrink on demand.

The compilers can target the DragonFly BSD, FreeBSD, Linux, NetBSD, OpenBSD, -OS X (Darwin), Plan 9, Solaris and Windows operating systems. +macOS (Darwin), Plan 9, Solaris and Windows operating systems. The full set of supported combinations is listed in the discussion of environment variables below.

@@ -468,7 +468,7 @@ These default to the values of $GOHOSTOS and

Choices for $GOOS are -darwin (Mac OS X 10.8 and above and iOS), dragonfly, freebsd, +darwin (macOS 10.10 and above and iOS), dragonfly, freebsd, linux, netbsd, openbsd, plan9, solaris and windows. Choices for $GOARCH are diff --git a/doc/install.html b/doc/install.html index cd51e7603a..3bb4a15b25 100644 --- a/doc/install.html +++ b/doc/install.html @@ -17,7 +17,7 @@

Official binary distributions are available for the FreeBSD (release 10-STABLE and above), -Linux, Mac OS X (10.8 and above), and Windows operating systems and +Linux, macOS (10.10 and above), and Windows operating systems and the 32-bit (386) and 64-bit (amd64) x86 processor architectures.

@@ -49,7 +49,7 @@ If your OS or architecture is not on the list, you may be able to
FreeBSD 10.3 or later amd64, 386 Debian GNU/kFreeBSD not supported Linux 2.6.23 or later with glibc amd64, 386, arm, arm64,
s390x, ppc64le CentOS/RHEL 5.x not supported.
Install from source for other libc. -macOS 10.8 or later amd64 use the clang or gcc that comes with Xcode for cgo support +macOS 10.10 or later amd64 use the clang or gcc that comes with Xcode for cgo support Windows XP SP2 or later amd64, 386 use MinGW gcc. No need for cygwin or msys. @@ -74,7 +74,7 @@ first remove the existing version.
-

Linux, Mac OS X, and FreeBSD tarballs

+

Linux, macOS, and FreeBSD tarballs

Download the archive @@ -118,7 +118,7 @@ or execute them from the profile using a command such as

-

Mac OS X package installer

+

macOS package installer

Download the package file, @@ -276,7 +276,7 @@ which describes some essential concepts about using the Go tools.

To remove an existing Go installation from your system delete the go directory. This is usually /usr/local/go -under Linux, Mac OS X, and FreeBSD or c:\Go +under Linux, macOS, and FreeBSD or c:\Go under Windows.

@@ -285,7 +285,7 @@ You should also remove the Go bin directory from your PATH environment variable. Under Linux and FreeBSD you should edit /etc/profile or $HOME/.profile. -If you installed Go with the Mac OS X package then you +If you installed Go with the macOS package then you should remove the /etc/paths.d/go file. Windows users should read the section about setting environment variables under Windows. diff --git a/doc/root.html b/doc/root.html index 545b28d2d5..b7422f2128 100644 --- a/doc/root.html +++ b/doc/root.html @@ -62,7 +62,7 @@ simple, reliable, and efficient software. Download Go Binary distributions available for
-Linux, Mac OS X, Windows, and more. +Linux, macOS, Windows, and more.
-- 2.50.0