Skip to content

Commit 77ec98c

Browse files
committed
Update macOS tool installation instructions
1 parent 7f8746b commit 77ec98c

File tree

1 file changed

+25
-5
lines changed

1 file changed

+25
-5
lines changed

doc/org.eclipse.cdt.doc.user/src/concepts/cdt_c_before_you_begin.adoc

Lines changed: 25 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ following commands to install individual tools:
8080

8181
|gdb
8282
|`pacman -S mingw-w64-ucrt-x86_64-gdb`
83-
|Required for debugging
83+
|Required for local _C/{cpp} Application_ debugging
8484

8585
|make
8686
|`pacman -S make`
@@ -110,11 +110,31 @@ however, be installed by default. For instructions about installing the
110110
GNU toolchain for Linux, see the instructions for your particular
111111
distribution.
112112

113-
=== Mac OS X
113+
=== macOS
114114

115-
The CDT supports the Apple GNU toolchain that is included in with the
116-
Xcode IDE. It can be downloaded from the Apple's developer site,
117-
https://developer.apple.com/[https://developer.apple.com]
115+
The CDT supports the _Clang_ toolchain provided by the
116+
_Xcode Command Line Tools_. It is recommended to use the Homebrew
117+
software distribution for any additional tools. The CDT will automatically
118+
detect tools that are installed using the Homebrew package manager.
119+
Install Homebrew by following instructions on the https://brew.sh/[Homebrew]
120+
home page. Then use the following commands at a _Terminal_ prompt to install
121+
individual tools:
122+
[cols="1,5,4"]
123+
|===
124+
|Tool|Installation command|Notes
125+
126+
|cmake
127+
|`brew install cmake`
128+
|Required for building _CMake_ projects
129+
130+
|lldb-mi
131+
|`brew install cdt-project/tools/lldb-mi`
132+
|Required for local _C/{cpp} Application_ debugging on Apple silicon (you must also install the CDT _C/{cpp} LLDB Debugger Integration_ feature)
133+
134+
|ninja
135+
|`brew install ninja`
136+
|Required for building _CMake_ projects
137+
|===
118138

119139
=== Other Platforms
120140

0 commit comments

Comments
 (0)