<div dir="ltr">







<p class="">To be more detaild i don't have any problems on my dev machine (Mac OS X with XCode toolchain).</p><p class="">I'd like to use libcxx with clang on ios device.</p><p class=""><br></p><p class="">Anyway : output on my dev machine</p>
<p class="">MBA-Anton:llvm_34_ios_armv7_build_noenv asmirnov$ echo "int main() {}" > helloworld.cpp && clang++ helloworld.cpp -v</p>
<p class="">Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)</p>
<p class="">Target: x86_64-apple-darwin13.3.0</p>
<p class="">Thread model: posix</p>
<p class=""> "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang" -cc1 -triple x86_64-apple-macosx10.9.0 -emit-obj -mrelax-all -disable-free -disable-llvm-verifier -main-file-name helloworld.cpp -mrelocation-model pic -pic-level 2 -mdisable-fp-elim -masm-verbose -munwind-tables -target-cpu core2 -target-linker-version 236.3 -v -resource-dir /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/5.1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -stdlib=libc++ -fdeprecated-macro -fdebug-compilation-dir /Users/asmirnov/Documents/dev/src/llvm_34_ios_armv7_build_noenv -ferror-limit 19 -fmessage-length 100 -stack-protector 1 -mstackrealign -fblocks -fobjc-runtime=macosx-10.9.0 -fencode-extended-block-signature -fcxx-exceptions -fexceptions -fdiagnostics-show-option -fcolor-diagnostics -vectorize-slp -o /var/folders/64/fwfkm1k51zbd4_c5lwpsbljh0000gn/T/helloworld-7e1d2f.o -x c++ helloworld.cpp</p>

<p class="">clang -cc1 version 5.1 based upon LLVM 3.4svn default target x86_64-apple-darwin13.3.0</p>
<p class="">ignoring nonexistent directory "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/c++/v1"</p>
<p class="">ignoring nonexistent directory "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/local/include"</p>
<p class="">ignoring nonexistent directory "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/Library/Frameworks"</p>
<p class="">#include "..." search starts here:</p>
<p class="">#include <...> search starts here:</p>
<p class=""> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1</p>
<p class=""> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/5.1/include</p>
<p class=""> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include</p>
<p class=""> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include</p>
<p class=""> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks (framework directory)</p>
<p class="">End of search list.</p>
<p class=""> "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld" -demangle -dynamic -arch x86_64 -macosx_version_min 10.9.0 -syslibroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -o a.out /var/folders/64/fwfkm1k51zbd4_c5lwpsbljh0000gn/T/helloworld-7e1d2f.o -lc++ -lSystem /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/5.1/lib/darwin/libclang_rt.osx.a</p>

<p class="">MBA-Anton:llvm_34_ios_armv7_build_noenv asmirnov$ </p></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-08-17 19:32 GMT+06:00 Ben Pope <span dir="ltr"><<a href="mailto:benpope81@gmail.com" target="_blank">benpope81@gmail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">On Sunday, August 17, 2014 09:27 PM, Anton Smirnov wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I'm going to use it on ios.<br>
<br>
Mac os x output:<br>
<br>
MBA-Anton:llvm_34_ios_armv7_<u></u>build_noenv asmirnov$ clang++ helloworld.cpp -v<br>
<br>
Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)<br>
<br>
Target: x86_64-apple-darwin13.3.0<br>
<br>
Thread model: posix<br>
<br>
clang: error: no such file or directory: 'helloworld.cpp'<br>
</blockquote>
<br></div>
Apologies for not being particularly explicit in my description<div class=""><br>
<br>
What's the output of:<br>
<br></div>
echo "int main() {}" > helloworld.cpp && clang++ helloworld.cpp -v<div class="HOEnZb"><div class="h5"><br>
<br>
Ben<br>
<br>
<br>
______________________________<u></u>_________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@cs.uiuc.edu" target="_blank">cfe-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target="_blank">http://lists.cs.uiuc.edu/<u></u>mailman/listinfo/cfe-dev</a><br>
</div></div></blockquote></div><br></div>