[cfe-dev] Trouble building libc++

David Leimbach leimy2k at gmail.com
Wed May 12 07:23:20 PDT 2010


On Tue, May 11, 2010 at 6:58 PM, Eric Christopher <echristo at apple.com>wrote:

>
> On May 11, 2010, at 6:56 PM, David Leimbach wrote:
>
> > Hi,
> >
> > I modified the buildit file to remove ppc and 386 -arch from my build
> targets, but made no other change and found that I'm missing a file:
> >
> > + g++ -dynamiclib -nodefaultlibs -arch x86_64 -current_version 1
> -compatibility_version 1 -o libc++.1.dylib algorithm.o bind.o chrono.o
> condition_variable.o hash.o ios.o iostream.o locale.o memory.o mutex.o new.o
> random.o stdexcept.o strstream.o system_error.o thread.o utility.o
> valarray.o -install_name /usr/lib/libc++.dylib
> -Wl,-reexport_library,/usr/lib/libc++abi.dylib /usr/lib/libSystem.B.dylib
> > ld: file not found: /usr/lib/libc++abi.dylib
> > collect2: ld returned 1 exit status
> >
> > Is libc++abi.dylib part of another project?
>
> What platform?  But in general yes, it's part of libstdc++ at the moment.
> It's the ABI part that the web page was talking about.
>
> You can change it by linking against libstdc++ for now.
>
> -eric
>
> Snow Leopard :-).  I'll check into it some more.  I just thought perhaps I
did something obviously wrong.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20100512/6d27c832/attachment.html>


More information about the cfe-dev mailing list