[llvm-commits] (autoconf) Build ASan runtime for ARM/Android

Eric Christopher echristo at gmail.com
Tue Oct 2 17:57:33 PDT 2012


On Tue, Oct 2, 2012 at 4:00 AM, Evgeniy Stepanov
<eugeni.stepanov at gmail.com> wrote:
> Yes, my first statement was incorrect.
>
> Still, these option don't help, because they (a) change the default
> target triple and sysroot of the resulting compiler, which may be
> undesirable, and (b) only let us build one flavour of compiler-rt
> anyway (just a different one this time).
>

Well, you can pass a sysroot by command line option, changing the
target is a little
different unless you've got something like the -arch support that
darwin has. That said,
how are you building it anyhow unless you've got a compiler that supports the
target you're building for?

I think I'd probably do this via a config and just have a platform
file for how you want
to do android builds. Then you can do something like "make android"
and it'll figure out
how to build it.

WDYT?

-eric



More information about the llvm-commits mailing list