[cfe-dev] Installing libc++

Jon Kalb jon at kalbweb.com
Fri Apr 15 09:10:52 PDT 2011


Howard, et. all,

Following the steps here: http://libcxx.llvm.org/

I¹m stuck here:

Where it says: ³That should result in a libc++.1.dylib. To install it I like
to use links instead of copying, but either should work:²

Instead I get:

> Jon-Kalbs-MacBook-Pro:lib jonkalb$ sudo ./buildit
> + for FILE in '../src/*.cpp'
> + clang++ -c -g -Os -fPIC -nostdinc++ -I../include ../src/algorithm.cpp
> + for FILE in '../src/*.cpp'
> + clang++ -c -g -Os -fPIC -nostdinc++ -I../include ../src/bind.cpp
> + for FILE in '../src/*.cpp'
> + clang++ -c -g -Os -fPIC -nostdinc++ -I../include ../src/chrono.cpp
> + for FILE in '../src/*.cpp'
> + clang++ -c -g -Os -fPIC -nostdinc++ -I../include
> ../src/condition_variable.cpp
> + for FILE in '../src/*.cpp'
> + clang++ -c -g -Os -fPIC -nostdinc++ -I../include ../src/exception.cpp
> + for FILE in '../src/*.cpp'
> + clang++ -c -g -Os -fPIC -nostdinc++ -I../include ../src/future.cpp
> + for FILE in '../src/*.cpp'
> + clang++ -c -g -Os -fPIC -nostdinc++ -I../include ../src/hash.cpp
> + for FILE in '../src/*.cpp'
> + clang++ -c -g -Os -fPIC -nostdinc++ -I../include ../src/ios.cpp
> + for FILE in '../src/*.cpp'
> + clang++ -c -g -Os -fPIC -nostdinc++ -I../include ../src/iostream.cpp
> + for FILE in '../src/*.cpp'
> + clang++ -c -g -Os -fPIC -nostdinc++ -I../include ../src/locale.cpp
> + for FILE in '../src/*.cpp'
> + clang++ -c -g -Os -fPIC -nostdinc++ -I../include ../src/memory.cpp
> + for FILE in '../src/*.cpp'
> + clang++ -c -g -Os -fPIC -nostdinc++ -I../include ../src/mutex.cpp
> + for FILE in '../src/*.cpp'
> + clang++ -c -g -Os -fPIC -nostdinc++ -I../include ../src/new.cpp
> + for FILE in '../src/*.cpp'
> + clang++ -c -g -Os -fPIC -nostdinc++ -I../include ../src/random.cpp
> + for FILE in '../src/*.cpp'
> + clang++ -c -g -Os -fPIC -nostdinc++ -I../include ../src/regex.cpp
> + for FILE in '../src/*.cpp'
> + clang++ -c -g -Os -fPIC -nostdinc++ -I../include ../src/stdexcept.cpp
> + for FILE in '../src/*.cpp'
> + clang++ -c -g -Os -fPIC -nostdinc++ -I../include ../src/string.cpp
> + for FILE in '../src/*.cpp'
> + clang++ -c -g -Os -fPIC -nostdinc++ -I../include ../src/strstream.cpp
> + for FILE in '../src/*.cpp'
> + clang++ -c -g -Os -fPIC -nostdinc++ -I../include ../src/system_error.cpp
> + for FILE in '../src/*.cpp'
> + clang++ -c -g -Os -fPIC -nostdinc++ -I../include ../src/thread.cpp
> + for FILE in '../src/*.cpp'
> + clang++ -c -g -Os -fPIC -nostdinc++ -I../include ../src/typeinfo.cpp
> + for FILE in '../src/*.cpp'
> + clang++ -c -g -Os -fPIC -nostdinc++ -I../include ../src/utility.cpp
> + for FILE in '../src/*.cpp'
> + clang++ -c -g -Os -fPIC -nostdinc++ -I../include ../src/valarray.cpp
> + cc algorithm.o bind.o chrono.o condition_variable.o exception.o future.o
> hash.o ios.o iostream.o locale.o memory.o mutex.o new.o random.o regex.o
> stdexcept.o string.o strstream.o system_error.o thread.o typeinfo.o utility.o
> valarray.o -fPIC -o libc++.so.1.0 -shared -nodefaultlibs
> -Wl,-soname,libc++.so.1 -lpthread -lrt -lc
> ld: unknown option: -soname
> collect2: ld returned 1 exit status
> 
Any idea what I¹m doing wrong?

Jon

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20110415/c60c989b/attachment.html>


More information about the cfe-dev mailing list