Skip to content
This repository was archived by the owner on Sep 30, 2020. It is now read-only.

Commit 2301ef5

Browse files
committed
Add temporary instructions for POPL tutorial
1 parent 885c8e5 commit 2301ef5

File tree

1 file changed

+55
-0
lines changed

1 file changed

+55
-0
lines changed

popl-install.html

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
<!DOCTYPE html>
2+
3+
<head>
4+
<meta name="robots" value="noindex, nofollow">
5+
</head>
6+
7+
<body>
8+
9+
Rust releases are not currently distributed as binaries for Linux and OS X,
10+
but for this tutorial we've created a special build of Rust 0.9 to avoid
11+
needing to compile the compiler before getting started.
12+
Follow the instructions below as appropriate for your platform.
13+
14+
<h1>Linux</h1>
15+
16+
Prerequisites: gcc
17+
18+
<pre>
19+
$ curl -O http://static.rust-lang.org/rust-0.9-x86_64-unknown-linux-gnu.tar.gz
20+
$ tar xzf rust-0.9-x86_64-unknown-linux-gnu.tar.gz
21+
$ rust-0.9/bin/rustc --help
22+
</pre>
23+
24+
<h1>OS X</h1>
25+
26+
Prerequisites: Xcode
27+
28+
<pre>
29+
$ curl -O http://static.rust-lang.org/rust-0.9-x86_64-apple-darwin.tar.gz
30+
$ tar xzf rust-0.9-x86_64-apple-darwin.tar.gz
31+
$ rust-0.9/bin/rustc --help
32+
</pre>
33+
34+
<h1>If you are running a 32-bit CPU</h1>
35+
36+
Use <code>http://static.rust-lang.org/rust-0.9-i686-unknown-linux-gnu.tar.gz</code>
37+
or <code>http://static.rust-lang.org/rust-0.9-i686-apple-darwin.tar.gz</code> instead.
38+
39+
<h1>If the binaries don't work</h1>
40+
41+
Then build from source...
42+
43+
<pre>
44+
$ curl -O http://static.rust-lang.org/dist/rust-0.9.tar.gz
45+
$ cd rust-0.9
46+
$ ./configure
47+
$ make install
48+
</pre>
49+
50+
<h1>If you are on Windows</h1>
51+
52+
Find another computer that is not running Windows or follow the
53+
<a href="https://github.com/mozilla/rust/wiki/Using-Rust-on-Windows">instructions on the Rust wiki.</a>
54+
55+
</body>

0 commit comments

Comments
 (0)