You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/SETUP.md
+40-10Lines changed: 40 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,9 +40,15 @@ sudo pacman -Syu
40
40
sudo pacman -S make
41
41
```
42
42
43
-
## Mac
43
+
## macOS
44
44
45
-
If you're on macOS and have [Homebrew](https://docs.brew.sh/Installation) installed, you can easily install make with the following command:
45
+
You can install `make` through [Homebrew](https://docs.brew.sh/Installation), a popular package management system for macOS. If you don't have Homebrew installed yet, you can do so with the following command:
After installing Homebrew, use the following command to install make:
46
52
47
53
```bash
48
54
brew install make
@@ -52,7 +58,7 @@ brew install make
52
58
53
59
## Windows
54
60
55
-
To install gcc on Windows, follow these steps:
61
+
To install `gcc` on Windows, follow these steps:
56
62
57
63
Download [ Mingw-w64](https://sourceforge.net/projects/mingw/files/Installer/mingw-get-setup.exe/download " Mingw-w64") and launch the installer.
58
64
@@ -84,30 +90,54 @@ If it's not installed, follow the instructions for your distribution:
84
90
```bash
85
91
sudo apt update
86
92
sudo apt install build-essential
87
-
88
93
```
89
94
90
95
### Arch Linux
91
96
92
97
```bash
93
98
sudo pacman -Syu
94
99
sudo pacman -S gcc
95
-
96
100
```
97
101
98
-
## Mac
102
+
## macOS
99
103
100
-
Ensure that Clang is installed by checking its version:
104
+
Ensure that either clang or gcc is installed by checking their versions
101
105
102
106
```bash
103
107
clang --version
108
+
g++ --version
104
109
```
105
110
106
-
If it's not installed, open "Terminal" and run the command:
111
+
If neither is installed, open "Terminal" and run the following command:
107
112
108
113
```bash
109
114
xcode-select --install
110
115
```
111
-
In the window that pops up, click "Install" and agree to the Terms of Service. Once the installation is complete, the command line utilities should be set up properly.
116
+
In the window that appears, click "Install" and agree to the Terms of Service. Once the installation is complete, the command line utilities should be set up properly.
117
+
118
+
This ensures that clang is installed on your system.
119
+
120
+
You can then install `gcc` through [Homebrew](https://docs.brew.sh/Installation), a popular package management system for macOS. If you don't have Homebrew installed yet, you can do so with the following command:
0 commit comments