I solve posix error but get another:
-------------- Clean: LLVM in Test (compiler: LLVM Clang Compiler)---------------
Cleaned "Test - LLVM"
-------------- Build: LLVM in Test (compiler: LLVM Clang Compiler)---------------
clang++ -fexceptions -v -I/Developer/usr/clang_llvm-3.1/include -I/Developer/SDKs/MacOSX10.6.sdk/usr/include -c /Volumes/D/C++/Test/Test/main.cpp -o "Release tmp/main.o"
clang version 3.1 (tags/RELEASE_31/final)
Target: x86_64-apple-darwin12.3.0
Thread model: posix
"/Developer/usr/clang_llvm-3.1/bin/clang" -cc1 -triple x86_64-apple-macosx10.8.0 -emit-obj -mrelax-all -disable-free -disable-llvm-verifier -main-file-name main.cpp -pic-level 2 -mdisable-fp-elim -masm-verbose -munwind-tables -target-cpu core2 -target-linker-version 123.2.1 -v -coverage-file "Release tmp/main.o" -resource-dir /Developer/usr/clang_llvm-3.1/bin/../lib/clang/3.1 -I /Developer/usr/clang_llvm-3.1/include -I /Developer/SDKs/MacOSX10.6.sdk/usr/include -fmodule-cache-path /var/folders/8j/zw7_bb6s4fsg036jd3p54y0m0000gn/T/clang-module-cache -fdeprecated-macro -fdebug-compilation-dir /Volumes/D/C++/Test/Test -ferror-limit 19 -fmessage-length 0 -stack-protector 1 -mstackrealign -fblocks -fobjc-runtime-has-arc -fobjc-runtime-has-weak -fobjc-dispatch-method=mixed -fobjc-default-synthesize-properties -fcxx-exceptions -fexceptions -fdiagnostics-show-option -o "Release tmp/main.o" -x c++ /Volumes/D/C++/Test/Test/main.cpp
clang -cc1 version 3.1 based upon LLVM 3.1 default target x86_64-apple-darwin12.3.0
ignoring nonexistent directory "/usr/include/c++/4.2.1"
ignoring nonexistent directory "/usr/include/c++/4.2.1/i686-apple-darwin10/x86_64"
ignoring nonexistent directory "/usr/include/c++/4.2.1/backward"
ignoring nonexistent directory "/usr/include/c++/4.0.0"
ignoring nonexistent directory "/usr/include/c++/4.0.0/i686-apple-darwin8/"
ignoring nonexistent directory "/usr/include/c++/4.0.0/backward"
ignoring nonexistent directory "/usr/local/include"
#include "..." search starts here:
#include <...> search starts here:
/Developer/usr/clang_llvm-3.1/include
/Developer/SDKs/MacOSX10.6.sdk/usr/include
/Developer/usr/clang_llvm-3.1/bin/../lib/clang/3.1/include
/usr/include
/System/Library/Frameworks (framework directory)
/Library/Frameworks (framework directory)
End of search list.
clang++ -L/Developer/usr/clang_llvm-3.1/lib -o Release/Test "Release tmp/main.o"
ld: unknown option: -demangle
clang: error: linker command failed with exit code 1 (use -v to see invocation)