@@ -7,50 +7,49 @@ documentation.
7
7
8
8
### Windows
9
9
10
- 1 . Download and use the [ installer] [ win-exe ] .
10
+ 1 . Download and use the [ installer and MinGW ] [ win-wiki ] .
11
11
2 . Read the [ tutorial] .
12
12
2 . Enjoy!
13
13
14
- > *** Note:*** Windows users should read the detailed
15
- > [ getting started] [ wiki-start ] notes on the wiki. Even when using
16
- > the binary installer the Windows build requires a MinGW installation,
17
- > the precise details of which are not discussed here.
14
+ > *** Note:*** Windows users can read the detailed
15
+ > [ getting started] [ wiki-start ] notes on the wiki.
18
16
19
17
[ tutorial ] : http://static.rust-lang.org/doc/tutorial.html
20
18
[ wiki-start ] : https://github.com/mozilla/rust/wiki/Note-getting-started-developing-Rust
21
- [ win-exe ] : http ://static.rust-lang.org/dist /rust-0.9-install.exe
19
+ [ win-wiki ] : https ://github.com/mozilla /rust/wiki/Using-Rust-on-Windows
22
20
23
21
### Linux / OS X
24
22
25
- 1 . Install the prerequisites (if not already installed)
26
- * g++ 4.4 or clang++ 3.x
27
- * python 2.6 or later (but not 3.x)
28
- * perl 5.0 or later
29
- * gnu make 3.81 or later
30
- * curl
31
- 2 . Download and build Rust
23
+ 1 . Make sure you have installed the dependencies:
24
+ * ` g++ ` 4.4 or ` clang++ ` 3.x
25
+ * ` python ` 2.6 or later (but not 3.x)
26
+ * ` perl ` 5.0 or later
27
+ * GNU ` make ` 3.81 or later
28
+ * ` curl `
29
+ 2 . Download and build Rust:
30
+
32
31
You can either download a [ tarball] or build directly from the [ repo] .
33
-
32
+
34
33
To build from the [ tarball] do:
35
-
34
+
36
35
$ curl -O http://static.rust-lang.org/dist/rust-0.9.tar.gz
37
36
$ tar -xzf rust-0.9.tar.gz
38
37
$ cd rust-0.9
39
-
38
+
40
39
Or to build from the [ repo] do:
41
40
42
41
$ git clone https://github.com/mozilla/rust.git
43
42
$ cd rust
44
43
45
44
Now that you have Rust's source code, you can configure and build it:
46
-
45
+
47
46
$ ./configure
48
47
$ make && make install
49
-
50
- You may need to use ` sudo make install ` if you do not normally have
51
- permission to modify the destination directory. The install locations can
52
- be adjusted by passing a ` --prefix ` argument to ` configure ` . Various other
53
- options are also supported, pass ` --help ` for more information on them.
48
+
49
+ > *** Note: *** You may need to use ` sudo make install ` if you do not normally have
50
+ > permission to modify the destination directory. The install locations can
51
+ > be adjusted by passing a ` --prefix ` argument to ` configure ` . Various other
52
+ > options are also supported, pass ` --help ` for more information on them.
54
53
55
54
When complete, ` make install ` will place several programs into
56
55
` /usr/local/bin ` : ` rustc ` , the Rust compiler; ` rustdoc ` , the
@@ -76,22 +75,20 @@ Snapshot binaries are currently built and tested on several platforms:
76
75
* Linux (various distributions), x86 and x86-64
77
76
* OSX 10.6 ("Snow Leopard") or greater, x86 and x86-64
78
77
79
- You may find that other platforms work, but these are our "tier 1"
78
+ You may find that other platforms work, but these are our officially
80
79
supported build environments that are most likely to work.
81
80
82
- Rust currently needs about 1.8G of RAM to build without swapping; if it hits
81
+ Rust currently needs about 1.5 GiB of RAM to build without swapping; if it hits
83
82
swap, it will take a very long time to build.
84
83
85
- There is lots more documentation in the [ wiki] .
84
+ There is a lot more documentation in the [ wiki] .
86
85
87
86
[ wiki ] : https://github.com/mozilla/rust/wiki
88
87
89
-
90
88
## License
91
89
92
90
Rust is primarily distributed under the terms of both the MIT license
93
91
and the Apache License (Version 2.0), with portions covered by various
94
92
BSD-like licenses.
95
93
96
94
See LICENSE-APACHE, LICENSE-MIT, and COPYRIGHT for details.
97
-
0 commit comments