The snapshots themselves are all "static binaries" in the sense that they have no dynamic rust dependencies and only the "necessary" system dependencies. Rustc does not generate 0-dependency static binaries right now that depend on libstd (as that would involve rewriting libc and writing a syscall interface for all platforms).
When porting to a new architecture, the general idea is to add support in the compiler and standard libraries, then use cross compilation from a supported platform to generate a snapshot for the target platform, then take the snapshot and bootstrap on the target platform. A new platform hasn't shown up in awhile, but this sounds pretty cool! On Tue, Jan 7, 2014 at 7:37 AM, Michael Neumann <[email protected]> wrote: > Hi there, > > At the moment rust "only" supports Linux/FreeBSD/Windows/MacOSX. I'd like to > be > able to compile it on DragonFlyBSD [1]. > > I am trying to get the FreeBSD stage0/bin/rustc to run on DragonFly, yet > with no success. > Is it possible to generate a static rustc binary somehow? Or what in general > is the procedure > to "port" rustc to a different platform? > > Regards, > > Michael > > [1]: http://www.dragonflybsd.org/ > _______________________________________________ > 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
