What are the compiler/linker requirements for using pthread library with clang in OS X.
With GCC i know that using -pthread set the appropriate compiler/linker options, but i unsure about OS X with clang.
air:~ jose$ clang++ -c test.cpp -pthread
air:~ jose$ clang++ -o test -pthread test.o
clang: warning: argument unused during compilation: '-pthread'
air:~ jose$ g++ -c test.cpp -pthread
air:~ jose$ g++ -o test -pthread test.o