]> git.proxmox.com Git - rustc.git/blobdiff - src/doc/embedded-book/src/intro/install/macos.md
New upstream version 1.69.0+dfsg1
[rustc.git] / src / doc / embedded-book / src / intro / install / macos.md
index b3e51bcf1c4ff276ff10757fd5759009913e0fd1..9a797563ac2341fda5835819a9d64e1deafa98c8 100644 (file)
@@ -1,8 +1,11 @@
 # macOS
 
-All the tools can be install using [Homebrew]:
+All the tools can be installed using [Homebrew] or [MacPorts]:
 
 [Homebrew]: http://brew.sh/
+[MacPorts]: https://www.macports.org/
+
+## Install tools with [Homebrew]
 
 ``` text
 $ # GDB
@@ -20,6 +23,21 @@ $ brew install qemu
 $ brew install --HEAD openocd
 ```
 
+## Install tools with [MacPorts]
+
+``` text
+$ # GDB
+$ sudo port install arm-none-eabi-gcc
+
+$ # OpenOCD
+$ sudo port install openocd
+
+$ # QEMU
+$ sudo port install qemu
+```
+
+
+
 That's all! Go to the [next section].
 
 [next section]: verify.md