Skip to content

Commit 500293d

Browse files
dmitshurbradfitz
authored andcommitted
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 <[email protected]>
1 parent 75d15a2 commit 500293d

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

doc/debugging_with_gdb.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ <h2 id="Introduction">Introduction</h2>
5757

5858
<p>
5959
When you compile and link your Go programs with the <code>gc</code> toolchain
60-
on Linux, Mac OS X, FreeBSD or NetBSD, the resulting binaries contain DWARFv4
60+
on Linux, macOS, FreeBSD or NetBSD, the resulting binaries contain DWARFv4
6161
debugging information that recent versions (&ge;7.5) of the GDB debugger can
6262
use to inspect a live process or a core dump.
6363
</p>

doc/go_faq.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1396,7 +1396,7 @@ <h3 id="Why_does_my_Go_process_use_so_much_virtual_memory">
13961396
<p>
13971397
To find the amount of actual memory allocated to a Go process, use the Unix
13981398
<code>top</code> command and consult the <code>RES</code> (Linux) or
1399-
<code>RSIZE</code> (Mac OS X) columns.
1399+
<code>RSIZE</code> (macOS) columns.
14001400
<!-- TODO(adg): find out how this works on Windows -->
14011401
</p>
14021402

doc/install-source.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ <h2 id="introduction">Introduction</h2>
9898

9999
<p>
100100
The compilers can target the DragonFly BSD, FreeBSD, Linux, NetBSD, OpenBSD,
101-
OS X (Darwin), Plan 9, Solaris and Windows operating systems.
101+
macOS (Darwin), Plan 9, Solaris and Windows operating systems.
102102
The full set of supported combinations is listed in the discussion of
103103
<a href="#environment">environment variables</a> below.
104104
</p>
@@ -468,7 +468,7 @@ <h2 id="environment">Optional environment variables</h2>
468468

469469
<p>
470470
Choices for <code>$GOOS</code> are
471-
<code>darwin</code> (Mac OS X 10.8 and above and iOS), <code>dragonfly</code>, <code>freebsd</code>,
471+
<code>darwin</code> (macOS 10.10 and above and iOS), <code>dragonfly</code>, <code>freebsd</code>,
472472
<code>linux</code>, <code>netbsd</code>, <code>openbsd</code>,
473473
<code>plan9</code>, <code>solaris</code> and <code>windows</code>.
474474
Choices for <code>$GOARCH</code> are

doc/install.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ <h2 id="download">Download the Go distribution</h2>
1717
<p>
1818
<a href="/dl/" target="_blank">Official binary
1919
distributions</a> are available for the FreeBSD (release 10-STABLE and above),
20-
Linux, Mac OS X (10.8 and above), and Windows operating systems and
20+
Linux, macOS (10.10 and above), and Windows operating systems and
2121
the 32-bit (<code>386</code>) and 64-bit (<code>amd64</code>) x86 processor
2222
architectures.
2323
</p>
@@ -49,7 +49,7 @@ <h2 id="requirements">System requirements</h2>
4949
<tr><td colspan="3"><hr></td></tr>
5050
<tr><td>FreeBSD 10.3 or later</td> <td>amd64, 386</td> <td>Debian GNU/kFreeBSD not supported</td></tr>
5151
<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>
52-
<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>
52+
<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>
5353
<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>
5454
</table>
5555

@@ -74,7 +74,7 @@ <h2 id="install">Install the Go tools</h2>
7474

7575
<div id="tarballInstructions">
7676

77-
<h3 id="tarball">Linux, Mac OS X, and FreeBSD tarballs</h3>
77+
<h3 id="tarball">Linux, macOS, and FreeBSD tarballs</h3>
7878

7979
<p>
8080
<a href="/dl/">Download the archive</a>
@@ -118,7 +118,7 @@ <h3 id="tarball">Linux, Mac OS X, and FreeBSD tarballs</h3>
118118

119119
<div id="darwinPackageInstructions">
120120

121-
<h3 id="osx">Mac OS X package installer</h3>
121+
<h3 id="macos"><div id="osx"></div>macOS package installer</h3>
122122

123123
<p>
124124
<a href="/dl/">Download the package file</a>,
@@ -276,7 +276,7 @@ <h2 id="uninstall">Uninstalling Go</h2>
276276
<p>
277277
To remove an existing Go installation from your system delete the
278278
<code>go</code> directory. This is usually <code>/usr/local/go</code>
279-
under Linux, Mac OS X, and FreeBSD or <code>c:\Go</code>
279+
under Linux, macOS, and FreeBSD or <code>c:\Go</code>
280280
under Windows.
281281
</p>
282282

@@ -285,7 +285,7 @@ <h2 id="uninstall">Uninstalling Go</h2>
285285
<code>PATH</code> environment variable.
286286
Under Linux and FreeBSD you should edit <code>/etc/profile</code> or
287287
<code>$HOME/.profile</code>.
288-
If you installed Go with the <a href="#osx">Mac OS X package</a> then you
288+
If you installed Go with the <a href="#macos">macOS package</a> then you
289289
should remove the <code>/etc/paths.d/go</code> file.
290290
Windows users should read the section about <a href="#windows_env">setting
291291
environment variables under Windows</a>.

doc/root.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
<span class="big">Download Go</span>
6363
<span class="desc">
6464
Binary distributions available for<br>
65-
Linux, Mac OS X, Windows, and more.
65+
Linux, macOS, Windows, and more.
6666
</span>
6767
</a>
6868

0 commit comments

Comments
 (0)