Those define the host platform (i.e. the one where compiler runs). The idea here is to build compiler-rt for all possible target platforms. We already do it for x86 and x86_64 when building on x86_64, and, with this option, will be able to do it for android as well.
On Sat, Sep 29, 2012 at 1:18 AM, Eric Christopher <[email protected]> wrote: > What's wrong with using --with-sysroot and the --target to determine > this information? > > -eric > > On Fri, Sep 28, 2012 at 5:17 AM, Evgeniy Stepanov > <[email protected]> wrote: >> Hi, >> >> these patched enable building the ARM/Android runtime library for >> AddressSanitizer if Android NDK is available. >> They add a 'configure' option, --with-android-toolchain, that, when >> pointed to a standalone toolchain from the Android NDK, enables >> building the runtime library. >> >> WDYT? Is this in the right general direction? We could later support >> simultaneous building of i386 and x86_64 runtimes on multilib systems >> the same way - a configure test in LLVM, and a conditional >> configuration in compiler-rt. >> >> _______________________________________________ >> llvm-commits mailing list >> [email protected] >> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits >> _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
