The Rust compiler is written in Rust. The build process downloads a
prebuilt rustc binary to use for bootstrapping.

The C++ compiler dependency is for LLVM.

Owen Shepherd
http://owenshepherd.net | [email protected]


On 9 June 2014 11:12, Zoltán Tóth <[email protected]> wrote:

> My question is rather theoretical, from the libre-and-open-source-software
> point of view.
>
> Bootstrapping needs an already existing language to compile the first
> executable version of Rust.
>
> I read that this was OCaml at some time. I do not have OCaml on my
> machine, but still managed to build from a cloned Rust repo. The
> documentation says that building requires a C++ compiler. These suggest
> that the project moved from OCaml to C++.
>
> But there are also some texts on the web and in the source that suggests
> that stage0 is actually not compiled from the source repository, but is
> downloaded as a binary snapshot. If this latter is the case, then can
> someone compile a suitable stage0 from [C++|OCaml] source himself?
>
> _______________________________________________
> Rust-dev mailing list
> [email protected]
> https://mail.mozilla.org/listinfo/rust-dev
>
>
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to