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 ca9d9a7c464751..f3b4e37a2827e2 100644 --- a/doc/debugging_with_gdb.html +++ b/doc/debugging_with_gdb.html @@ -57,7 +57,7 @@

Introduction

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 e83408e6f171b5..e020ce12c1c59b 100644 --- a/doc/go_faq.html +++ b/doc/go_faq.html @@ -1396,7 +1396,7 @@

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 844fb002f7aa1a..f6d9473d9be559 100644 --- a/doc/install-source.html +++ b/doc/install-source.html @@ -98,7 +98,7 @@

Introduction

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 @@

Optional environment variables

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 cd51e7603a5aad..3bb4a15b25384c 100644 --- a/doc/install.html +++ b/doc/install.html @@ -17,7 +17,7 @@

Download the Go distribution

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 @@

System requirements


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 @@

Install the Go tools

-

Linux, Mac OS X, and FreeBSD tarballs

+

Linux, macOS, and FreeBSD tarballs

Download the archive @@ -118,7 +118,7 @@

Linux, Mac OS X, and FreeBSD tarballs

-

Mac OS X package installer

+

macOS package installer

Download the package file, @@ -276,7 +276,7 @@

Uninstalling Go

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 @@

Uninstalling Go

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 545b28d2d5c6aa..b7422f212878c6 100644 --- a/doc/root.html +++ b/doc/root.html @@ -62,7 +62,7 @@ Download Go Binary distributions available for
-Linux, Mac OS X, Windows, and more. +Linux, macOS, Windows, and more.