[OT] A Rust tool for Cross-compilation

Jacob Carlborg via Digitalmars-d digitalmars-d at puremagic.com
Mon May 16 23:32:09 PDT 2016


On 2016-05-16 13:31, w0rp wrote:

> I'd love to have a tool for this which used either GCC or LLVM. I tried
> compiling for arm-none-eabi a while ago, and you could get it working,
> but it was a bit of a pain getting all of the right tools in place for
> it. I'd love to be able to juts type a command and have it all just
> work. I'd really love to have something which generated a DUB config
> which would cross compile.

With LDC it should be fairly straight forward. LDC can already 
cross-compile, combining that with something something like ELLCC [1] it 
should be enough to specify the ELLCC as the C compiler.

[1] http://ellcc.org

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list