[LLVMdev] [PATCH]: enable multilib build on x86_64-apple-darwin
Eric Christopher
echristo at apple.com
Wed Aug 26 00:48:15 PDT 2009
On Aug 25, 2009, at 9:57 PM, Chris Lattner wrote:
>
> On Aug 25, 2009, at 2:33 PM, Mike Stump wrote:
>
>> On Aug 23, 2009, at 11:36 AM, Jack Howarth wrote:
>>> Current llvm-gcc-4.2 for trunk and the 2.6 release
>>> is unable to build the i386 multilib for the
>>> x86_64-apple-darwin target. The attached patch provides
>>> this support. Can we get this into the 2.6 release
>>> and trunk?
>>
>> This is fine. I don't have a rw llvm-gcc tree, some else want to
>> check it in? For 2.6, that's be someone else's call, for what it's
>> worth, this should be fairly safe.
>
> I applied this as r80071. However, I don't understand what this
> does. I'm able to build a working i386/x86-64 compiler on darwin
> without this, what exactly does this fix? What exactly is an "i386
> multilib" and why do we care? :)
If you build a native 64-bit darwin compiler (host/target are x86_64-
darwin) this will give you a -m32 multilib that will enable you to
target i386. Otherwise you have to build a 32-bit compiler that has a
64-bit multilib.
-eric
More information about the llvm-dev
mailing list