1. Make sure you have installed the dependencies:
- * `g++` 4.7 or later or `clang++` 3.x
+ * `g++` 4.7 or later or `clang++` 3.x or later
* `python` 2.7 (but not 3.x)
* GNU `make` 3.81 or later
* `cmake` 3.4.3 or later
3. Build and install:
```sh
- $ ./x.py build && sudo ./x.py dist --install
+ $ ./x.py build && sudo ./x.py install
```
> ***Note:*** Install locations can be adjusted by copying the config file
> adjusting the `prefix` option under `[install]`. Various other options are
> also supported, and are documented in the config file.
- When complete, `sudo ./x.py dist --install` will place several programs into
+ When complete, `sudo ./x.py install` will place several programs into
`/usr/local/bin`: `rustc`, the Rust compiler, and `rustdoc`, the
API-documentation tool. This install does not include [Cargo],
Rust's package manager, which you may also want to build.
4. Navigate to Rust's source code (or clone it), then build it:
```sh
- $ ./x.py build && ./x.py dist --install
+ $ ./x.py build && ./x.py install
```
#### MSVC
* [users.rust-lang.org] - General discussion and broader questions.
* [/r/rust] - News and general discussion.
-[Stack Overflow]: http://stackoverflow.com/questions/tagged/rust
-[/r/rust]: http://reddit.com/r/rust
+[Stack Overflow]: https://stackoverflow.com/questions/tagged/rust
+[/r/rust]: https://reddit.com/r/rust
[users.rust-lang.org]: https://users.rust-lang.org/
## Contributing