[rust-dev] How do I bootstrap rust form armhf?

Vladimir Pouzanov farcaller at gmail.com
Fri Jun 6 10:10:20 PDT 2014


Thanks, I managed to bootstrap my rustc already with a few hints.


On Fri, Jun 6, 2014 at 4:19 PM, Valerii Hiora <valerii.hiora at gmail.com>
wrote:

> I'm trying to run rustc on an arm board, but obviously there's no
>> precompiled stage0 to build the compiler.
>> Is there a procedure to cross-compile stage0 on other host machine where
>> I do have rustc?
>>
>
>    Disclaimer: haven't tried anything like this, but just a couple of
> hints:
>
>    - configure script checks for CFG_ENABLE_LOCAL_RUST, so it should be
> possible to use any rustc
>    - in src/etc there are make_snapshot.py, snapshot.py, local_stage0.sh
> which might be useful for study
>    - there are a couple of mentions of cfg(stage0) in sources, probably
> compiling rust for stage0 will require additionally setting --cfg stage0
>
> --
>
>    Valerii
> _______________________________________________
> Rust-dev mailing list
> Rust-dev at mozilla.org
> https://mail.mozilla.org/listinfo/rust-dev
>



-- 
Sincerely,
Vladimir "Farcaller" Pouzanov
http://farcaller.net/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/rust-dev/attachments/20140606/acb3fdee/attachment.html>


More information about the Rust-dev mailing list