I'm trying to build libc++ (LLVM's version of the C++ standard libraries)
with LLVM 2.9 on Ubuntu 11.04.  I had to create a symlink from
/usr/include/asm-generic to /usr/include/asm in order to get everything to
generate .o files.  However, the linking phase gives me the following
output:

+ clang 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 -lstdc++ -std=c++0x
clang: warning: argument unused during compilation: '-nodefaultlibs'
clang: warning: argument unused during compilation: '-std=c++0x'
/usr/bin/ld: cannot find crtbeginS.o: No such file or directory
clang: error: linker command failed with exit code 1 (use -v to see
invocation)

crtbeginS.o is at /usr/lib/x86_64-linux-gnu/gcc/x86_64-linux-gnu/4.5

Any ideas what needs to change on that line in order to get this to work?
--------------------
BYU Unix Users Group 
http://uug.byu.edu/ 

The opinions expressed in this message are the responsibility of their
author.  They are not endorsed by BYU, the BYU CS Department or BYU-UUG. 
___________________________________________________________________
List Info (unsubscribe here): http://uug.byu.edu/mailman/listinfo/uug-list

Reply via email to