[yocto] Questions regarding adding a new llvm based cross-compiler

Cody P Schafer dev at codyps.com
Thu Oct 16 10:46:54 PDT 2014


Hi all,

I'm working on creating a layer for the rust compiler (which uses
llvm) and was wondering if there were any best practices and/or
examples people could point me at.

The compiler is designed to be built for multiple targets at once
(unlike the gcc model of having a single compiler build for each
target).

Q: Does this mean that I don't need to create a '-cross' package? (And
just use '-native'?)
Q: What about a -runtime package? Will one be needed? (The compiler
can build runtime libs for multiple targets, so a '-native' could
include the target runtime libs).

Thanks
--
Cody



More information about the yocto mailing list