[rust-dev] Porting rust to DragonFlyBSD

Thad Guidry thadguidry at gmail.com
Tue Jan 7 11:35:30 PST 2014


I am VERY interested in the support of this platform, DragonFlyBSD.  Which
is a great "Systems OS" in and of itself.

Thanks for your future efforts on it, Michael !

(BTW, in particular, I am interested in access to the HAMMER File System on
DragonFlyBSD to begin my experiments)



On Tue, Jan 7, 2014 at 10:10 AM, Alex Crichton <alex at crichton.co> wrote:

> 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 <mneumann at ntecs.de> 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
> > Rust-dev at mozilla.org
> > https://mail.mozilla.org/listinfo/rust-dev
> _______________________________________________
> Rust-dev mailing list
> Rust-dev at mozilla.org
> https://mail.mozilla.org/listinfo/rust-dev
>



-- 
-Thad
+ThadGuidry <https://www.google.com/+ThadGuidry>
Thad on LinkedIn <http://www.linkedin.com/in/thadguidry/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/rust-dev/attachments/20140107/1e8235f3/attachment.html>


More information about the Rust-dev mailing list