[llvm-commits] [cfe-commits] Ping^2: Fix for bug 11060: configure --target does not work

Eric Christopher echristo at apple.com
Wed Oct 26 10:11:01 PDT 2011


On Oct 26, 2011, at 9:54 AM, Joerg Sonnenberger wrote:

> On Wed, Oct 26, 2011 at 11:01:18AM -0500, Sebastian Pop wrote:
>> Eric, could you please commit the configure --target patches?
>> I have attached an updated version of the patches on top of
>> today's trunk.
> 
> You are still introducing a redundant macro and associated code. Which
> part of "LLVM_HOSTTRIPLE controls the target" was unclear?

Can you elaborate on this here? What, in particular, do you think should
change with Sebastian's patch? He's adding functionality that --target (and
similar cmake-isms) control the default target, not host of the compiler.

True that the host isn't used in a lot of places at the moment, but I'm
not sure why we need to keep the requirement that "host-triple" is
the triple we're targeting.

-eric



More information about the llvm-commits mailing list