[cfe-dev] Trouble building libc++

Eric Christopher echristo at apple.com
Tue May 11 18:58:33 PDT 2010


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





More information about the cfe-dev mailing list