[cfe-dev] How to build libc++ with LLVM/Clang 3.3 on Mac OS X 10.6 "Snow Leopard"

Laryx Decidua laryx.decidua at gmail.com
Fri Oct 25 10:41:09 PDT 2013


Hi Ben,

Thank you for your advice. This was the first I tried -- and unfortunately
it does not work. Here is the output:

[...]
+ clang++ -c -g -Os -arch i386 -arch x86_64 -std=c++0x -U__STRICT_ANSI__
-nostdinc++ -I../include ../src/exception.cpp
../src/exception.cpp:18:12: fatal error: 'cxxabi.h' file not found
  #include <cxxabi.h>

Indeed, there is no cxxabi.h file in the ../include directory :-(

Cheers, Laryx


On Thu, Oct 24, 2013 at 10:37 PM, Benjamin Kircher <
benjamin.kircher at gmail.com> wrote:

> Hi there,
>
> On Wed, Oct 23, 2013 at 9:07 AM, Laryx Decidua <laryx.decidua at gmail.com>
> wrote:
> > Could someone please help me by sending me a short description of how to
> > compile libc++ with clang++ V3.3 on Snow Leopard? Private mail would be
> > appreciated.
>
> I usually get it to compile with
>
>     $ export TRIPLE=-apple-
>     $ export MACOSX_DEPLOYMENT_TARGET=10.6
>     $ ./buildit
>
>
> Does this work for you?
>
> Cheers,
> Benjamin Kircher
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20131025/9fdc802e/attachment.html>


More information about the cfe-dev mailing list