]> Cypherpunks repositories - gostls13.git/commitdiff
doc: update "Mac OS X", "OS X" to macOS; bump up to 10.10
authorDmitri Shuralyov <dmitri@shuralyov.com>
Tue, 19 Jun 2018 20:14:00 +0000 (16:14 -0400)
committerBrad Fitzpatrick <bradfitz@golang.org>
Tue, 19 Jun 2018 21:36:56 +0000 (21:36 +0000)
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 <bradfitz@golang.org>
doc/debugging_with_gdb.html
doc/go_faq.html
doc/install-source.html
doc/install.html
doc/root.html

index ca9d9a7c4647519cf120f7525d8fee01ffebcf7f..f3b4e37a2827e2c9cc4925817f5114044b1b9df0 100644 (file)
@@ -57,7 +57,7 @@ Besides this overview you might want to consult the
 
 <p>
 When you compile and link your Go programs with the <code>gc</code> 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 (&ge;7.5) of the GDB debugger can
 use to inspect a live process or a core dump.
 </p>
index e83408e6f171b57e5a40b44e1d0d185a9afcde36..e020ce12c1c59b47a1638dda4ead3e2ce60397d2 100644 (file)
@@ -1396,7 +1396,7 @@ reservation does not deprive other processes of memory.
 <p>
 To find the amount of actual memory allocated to a Go process, use the Unix
 <code>top</code> command and consult the <code>RES</code> (Linux) or
-<code>RSIZE</code> (Mac OS X) columns.
+<code>RSIZE</code> (macOS) columns.
 <!-- TODO(adg): find out how this works on Windows -->
 </p>
 
index 844fb002f7aa1abd05ac9e3107995c00584f64e5..f6d9473d9be559d7b192310e93aeb9df8b2b0f64 100644 (file)
@@ -98,7 +98,7 @@ goroutines, such as stacks that grow and shrink on demand.
 
 <p>
 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
 <a href="#environment">environment variables</a> below.
 </p>
@@ -468,7 +468,7 @@ These default to the values of <code>$GOHOSTOS</code> and
 
 <p>
 Choices for <code>$GOOS</code> are
-<code>darwin</code> (Mac OS X 10.8 and above and iOS), <code>dragonfly</code>, <code>freebsd</code>,
+<code>darwin</code> (macOS 10.10 and above and iOS), <code>dragonfly</code>, <code>freebsd</code>,
 <code>linux</code>, <code>netbsd</code>, <code>openbsd</code>,
 <code>plan9</code>, <code>solaris</code> and <code>windows</code>.
 Choices for <code>$GOARCH</code> are
index cd51e7603a5aad8687c2cfe4af8609f71b434ff7..3bb4a15b25384ce134f98cb014996851a0952d0a 100644 (file)
@@ -17,7 +17,7 @@
 <p>
 <a href="/dl/" target="_blank">Official binary
 distributions</a> 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 (<code>386</code>) and 64-bit (<code>amd64</code>) x86 processor
 architectures.
 </p>
@@ -49,7 +49,7 @@ If your OS or architecture is not on the list, you may be able to
 <tr><td colspan="3"><hr></td></tr>
 <tr><td>FreeBSD 10.3 or later</td> <td>amd64, 386</td> <td>Debian GNU/kFreeBSD not supported</td></tr>
 <tr valign='top'><td>Linux 2.6.23 or later with glibc</td> <td>amd64, 386, arm, arm64,<br>s390x, ppc64le</td> <td>CentOS/RHEL 5.x not supported.<br>Install from source for other libc.</td></tr>
-<tr><td>macOS 10.8 or later</td> <td>amd64</td> <td>use the clang or gcc<sup>&#8224;</sup> that comes with Xcode<sup>&#8225;</sup> for <code>cgo</code> support</td></tr>
+<tr><td>macOS 10.10 or later</td> <td>amd64</td> <td>use the clang or gcc<sup>&#8224;</sup> that comes with Xcode<sup>&#8225;</sup> for <code>cgo</code> support</td></tr>
 <tr><td>Windows XP SP2 or later</td> <td>amd64, 386</td> <td>use MinGW gcc<sup>&#8224;</sup>. No need for cygwin or msys.</td></tr>
 </table>
 
@@ -74,7 +74,7 @@ first <a href="#uninstall">remove the existing version</a>.
 
 <div id="tarballInstructions">
 
-<h3 id="tarball">Linux, Mac OS X, and FreeBSD tarballs</h3>
+<h3 id="tarball">Linux, macOS, and FreeBSD tarballs</h3>
 
 <p>
 <a href="/dl/">Download the archive</a>
@@ -118,7 +118,7 @@ or execute them from the profile using a command such as
 
 <div id="darwinPackageInstructions">
 
-<h3 id="osx">Mac OS X package installer</h3>
+<h3 id="macos"><div id="osx"></div>macOS package installer</h3>
 
 <p>
 <a href="/dl/">Download the package file</a>,
@@ -276,7 +276,7 @@ which describes some essential concepts about using the Go tools.
 <p>
 To remove an existing Go installation from your system delete the
 <code>go</code> directory. This is usually <code>/usr/local/go</code>
-under Linux, Mac OS X, and FreeBSD or <code>c:\Go</code>
+under Linux, macOS, and FreeBSD or <code>c:\Go</code>
 under Windows.
 </p>
 
@@ -285,7 +285,7 @@ You should also remove the Go <code>bin</code> directory from your
 <code>PATH</code> environment variable.
 Under Linux and FreeBSD you should edit <code>/etc/profile</code> or
 <code>$HOME/.profile</code>.
-If you installed Go with the <a href="#osx">Mac OS X package</a> then you
+If you installed Go with the <a href="#macos">macOS package</a> then you
 should remove the <code>/etc/paths.d/go</code> file.
 Windows users should read the section about <a href="#windows_env">setting
 environment variables under Windows</a>.
index 545b28d2d5c6aac0fe5a2d1f391bf81e87cfb080..b7422f212878c68807c76351abc3fa02c5f6e7bd 100644 (file)
@@ -62,7 +62,7 @@ simple, reliable, and efficient software.
 <span class="big">Download Go</span>
 <span class="desc">
 Binary distributions available for<br>
-Linux, Mac OS X, Windows, and more.
+Linux, macOS, Windows, and more.
 </span>
 </a>