Samuel Thibault, le dim. 04 nov. 2018 14:30:22 +0100, a ecrit:
> I'm actually wondering what is supposed to make clang++ take the
> -DLIBCXXABI_LIBCXX_INCLUDES=/mnt/compil/llvm-toolchain-7-7/libcxx/include

I tried to make this an environment variable that clang++ could take,
but still:

$ LIBCXXABI_LIBCXX_INCLUDES=/mnt/compil/llvm-toolchain-7-7/libcxx/include 
/mnt/compil/llvm-toolchain-7-7/build-llvm/bin/clang++    -g -O2 
-fdebug-prefix-map=/mnt/compil/llvm-toolchain-7-7=. -fstack-protector-strong 
-Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 
-DLLVM_NO_OLD_LIBSTDCXX  -std=c++0x   -o CMakeFiles/cmTC_b2902.dir/src.cxx.o -c 
/mnt/compil/llvm-toolchain-7-7/libcxxabi/build/CMakeFiles/CMakeTmp/src.cxx -v
clang version 7.0.0-8 (tags/RELEASE_700/final)
Target: i686-unknown--gnu0.9
Thread model: posix
InstalledDir: /mnt/compil/llvm-toolchain-7-7/build-llvm/bin
 "/mnt/compil/llvm-toolchain-7-7/build-llvm/bin/clang++" -cc1 -triple 
i686-unknown--gnu0.9 -emit-obj -disable-free -disable-llvm-verifier 
-discard-value-names -main-file-name src.cxx -mrelocation-model static 
-mthread-model posix -mdisable-fp-elim -fmath-errno -masm-verbose 
-mconstructor-aliases -target-cpu pentium4 -dwarf-column-info 
-debug-info-kind=limited -dwarf-version=4 -debugger-tuning=gdb -v -v 
-coverage-notes-file 
/mnt/compil/llvm-toolchain-7-7/CMakeFiles/cmTC_b2902.dir/src.cxx.gcno 
-resource-dir /mnt/compil/llvm-toolchain-7-7/build-llvm/lib/clang/7.0.0 -D 
_FORTIFY_SOURCE=2 -D LLVM_NO_OLD_LIBSTDCXX -internal-isystem 
/usr/include/clang/7.0.0/include/ -O2 -Wformat -Werror=format-security 
-Wdate-time -std=c++0x -fdeprecated-macro -fdebug-compilation-dir 
/mnt/compil/llvm-toolchain-7-7 
-fdebug-prefix-map=/mnt/compil/llvm-toolchain-7-7=. -ferror-limit 19 
-fmessage-length 80 -stack-protector 2 -fobjc-runtime=gcc -fcxx-exceptions 
-fexceptions -fdiagnostics-show-option -fcolor-diagnostics -vectorize-loops 
-vectorize-slp -o CMakeFiles/cmTC_b2902.dir/src.cxx.o -x c++ 
/mnt/compil/llvm-toolchain-7-7/libcxxabi/build/CMakeFiles/CMakeTmp/src.cxx 
-faddrsig
clang -cc1 version 7.0.0 based upon LLVM 7.0.0 default target 
i686-unknown-gnu0.9
ignoring nonexistent directory "/usr/include/clang/7.0.0/include/"
#include "..." search starts here:
#include <...> search starts here:
 /usr/local/include
 /mnt/compil/llvm-toolchain-7-7/build-llvm/lib/clang/7.0.0/include
 /usr/include
End of search list.
error: unable to open output file 'CMakeFiles/cmTC_b2902.dir/src.cxx.o': 'No
      such file or directory'
1 error generated.

Samuel

Reply via email to