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

Axel Viala axel.viala at darnuria.eu
Sat Jun 7 10:46:56 PDT 2014


On 06/06/2014 19:10, Vladimir Pouzanov wrote:
> Thanks, I managed to bootstrap my rustc already with a few hints.
>
>
Yeah!
Try to contribute about it, for packaging rust into debian and other 
distribution this would be a great contribution! :)
> On Fri, Jun 6, 2014 at 4:19 PM, Valerii Hiora <valerii.hiora at gmail.com 
> <mailto: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
>
-- 
My Mozillian profile because I believe in an Open Internet.
https://mozillians.org/en-US/u/darnuria/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/rust-dev/attachments/20140607/abafd82a/attachment.html>


More information about the Rust-dev mailing list