r193934 - Default to use libc++ on OS X 10.9+ and iOS 7+.

Marshall Clow mclow.lists at gmail.com
Tue Feb 4 15:27:39 PST 2014


On Feb 4, 2014, at 2:59 PM, Justin Bogner <mail at justinbogner.com> wrote:

> Timur Iskhodzhanov <timurrrr at google.com> writes:
>> 2014-02-04 Justin Bogner <mail at justinbogner.com>:
>>> I'm assuming you have libcxx checked out in projects/ of the LLVM
>>> repository.
>> 
>> No, I don't think so.
>> This isn't documented, right?
> 
> I think this is what Nico was suggesting to document, yes. Check out the
> libcxx repository under projects/ and it should build along with clang,
> then you don't need to rely on locally installed headers.

Right - this has been my experience. (though I’m using config/make rather than CMake)

— Marshall



> 
>>> Is this clang 3.4 or ToT? The cmake build installed the libc++ headers
>>> in a different directory (lib/) than clang looked for them in (include/)
>>> before r194834.
>> 
>> I'm on ToT.
>> 
>>> Timur Iskhodzhanov <timurrrr at google.com> writes:
>>>> Please see
>>>> http://llvm.org/bugs/show_bug.cgi?id=17821#c7>>
>>>> I don't know what to write in a patch as I can't get a build
>>>> working for me yet.
>>>> That means either
>>>> a) something's broken
>>>> b) something's not documented well
>>>> c) I missed some important how-to announcement regarding building on
>>>> 10.9 with Xcode 5
>>>> 
>>>> 2014-02-04 Bob Wilson <bob.wilson at apple.com>:
>>>>> Would you like to contribute a patch to clarify that documentation?
>>>>> I’m not sure what you’re asking for here.
>>>>> 
>>>>> On Feb 4, 2014, at 12:20 PM, Timur Iskhodzhanov <timurrrr at google.com> wrote:
>>>>> 
>>>>>> ping?
>>>>>> 
>>>>>> I've spent a fair amount of time debugging this yesterday.
>>>>>> 
>>>>>> 2013-11-05 Nico Weber <thakis at chromium.org>:
>>>>>>> On Tue, Nov 5, 2013 at 9:44 AM, Bob Wilson <bob.wilson at apple.com> wrote:
>>>>>>>> 
>>>>>>>> On OS X the libc++ headers are meant to be installed along with
>>>>>>>> clang.  If
>>>>>>>> you check out the libc++ sources in the LLVM projects directory,
>>>>>>>> they should
>>>>>>>> be installed in the right place.
>>>>>>> 
>>>>>>> 
>>>>>>> Thanks, that makes sense. Should
>>>>>>> http://clang.llvm.org/get_started.html>>> mention checking out
>>>>>>> libc++, since it sounds that's now a requirement on OS
>>>>>>> X?
> 
> 
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits





More information about the cfe-commits mailing list