tag | 6ee8962a6cf7c32cee34d390018baeb2f569ee4c | |
---|---|---|
tagger | Graydon Hoare <graydon@mozilla.com> | Wed Jul 03 11:11:57 2013 -0700 |
object | b5f0d0f648d9a6153664837026ba1be43d3e2503 |
0.3 release
tag | b5f0d0f648d9a6153664837026ba1be43d3e2503 | |
---|---|---|
tagger | Graydon Hoare <graydon@mozilla.com> | Thu Jul 12 15:12:24 2012 -0700 |
object | 2f32a1581f522e524009138b33b1c7049ced668d |
0.3 release
commit | 2f32a1581f522e524009138b33b1c7049ced668d | [log] [tgz] |
---|---|---|
author | Graydon Hoare <graydon@mozilla.com> | Thu Jul 12 12:41:39 2012 -0700 |
committer | Graydon Hoare <graydon@mozilla.com> | Thu Jul 12 12:43:20 2012 -0700 |
tree | 2ed35dd79b21c9300cb24ffa39dd3ebb24d7e1b4 | |
parent | df8481a9c31e1a4773515cfd1ea05a5d5d488578 [diff] |
Fix make-install target on mac.
This is a compiler for Rust, including standard libraries, tools and documentation.
The Rust compiler is slightly unusual in that it is written in Rust and therefore must be built by a precompiled “snapshot” version of itself (made in an earlier state of development). As such, source builds require that:
You are connected to the internet, to fetch snapshots.
You can at least execute snapshot binaries of one of the forms we offer them in. Currently we build and test snapshots on:
You may find other platforms work, but these are our “tier 1” supported build environments that are most likely to work. Further platforms will be added to the list in the future via cross-compilation.
To build from source you will also need the following prerequisite packages:
Assuming you're on a relatively modern Linux/OSX system and have met the prerequisites, something along these lines should work:
$ tar -xzf rust-0.3.tar.gz $ cd rust-0.3 $ ./configure $ make && make install
When complete, make install will place the following programs into /usr/local/bin:
In addition to a manual page under /usr/local/share/man and a set of host and target libraries under /usr/local/lib/rustc.
The install locations can be adjusted by passing a --prefix argument to configure. Various other options are also supported, pass --help for more information on them.
Rust is primarily distributed under the terms of the MIT license, with portions covered by various BSD-like licenses.
See LICENSE.txt for complete terms of copyright and redistribution.
The tutorial is a good starting point.