Re: Questions regarding adding a new llvm based cross-compiler
Cody P Schafer <dev@...>
On Fri, Oct 17, 2014 at 1:48 PM, Martin Jansa <martin.jansa@...> wrote:
On Fri, Oct 17, 2014 at 09:07:19AM +0100, Paul Barker wrote:I wasn't. Rust packages a particular llvm version already (and ties itOn 16 October 2014 18:46, Cody P Schafer <dev@...> wrote:Are you using llvm recipes from meta-oe (or at least starting fromHi all,
into it's build scripts). I'm planning on just using that one.
I haven't tried it yet, but I've asked Servo developer, how they doWell:
From what I've found, crossbuilds work fine if you're using one of a
small set of blessed triples (ie: not arm-poky-linux-gnueabi, but
arm-unknown-linux-gnueabihf), and you don't set any special
CFLAGS/LDFLAGS variables (which oe does).
And the infrastructure is not in place to allow packagers to easily
add/use different triples and "linkers" (rustc calls gcc/cc to link
it's programs, and as a result needs to know where it is).