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 <[email protected] <mailto:[email protected]>> 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/

_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to