On Wed, Oct 26, 2011 at 01:33:38PM -0500, Sebastian Pop wrote: [snip] > > > Which part of "LLVM_HOSTTRIPLE controls the target" was unclear? > > LLVM_HOSTTRIPLE should *not* control the target. > $host and $target are two different things (in the cross compilers world.)
*sigh* Can you please check what the code is using LLVM_HOSTTRIPLE for? Hint: it is the default target. As I said earlier and as you have ignored, the notation of host and target in LLVM/Clang is generally bogus and and most (if not all) notions of "host" actually mean "target". The host system for the compiler is pretty much irrelevant other than to get the right compiler for building and maybe the right endianess. > How would you select the value set by configure in $target after you > have thrown away the information that configure has set in $target? I've told you already, I think deriving the default value of LLVM_HOSTTRIPLE from $target makes more sense. What I object to is introducing another macro and associated support code which doesn't serve any purpose. Joerg _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
