[cfe-dev] libcxx: cstdio / stdio.h - missing file
Anton Smirnov
dev at antonsmirnov.name
Sun Aug 17 06:37:27 PDT 2014
To be more detaild i don't have any problems on my dev machine (Mac OS X
with XCode toolchain).
I'd like to use libcxx with clang on ios device.
Anyway : output on my dev machine
MBA-Anton:llvm_34_ios_armv7_build_noenv asmirnov$ echo "int main() {}" >
helloworld.cpp && clang++ helloworld.cpp -v
Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
Target: x86_64-apple-darwin13.3.0
Thread model: posix
"/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
clang -cc1 version 5.1 based upon LLVM 3.4svn default target
x86_64-apple-darwin13.3.0
ignoring nonexistent directory
"/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/c++/v1"
ignoring nonexistent directory
"/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/local/include"
ignoring nonexistent directory
"/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/Library/Frameworks"
#include "..." search starts here:
#include <...> search starts here:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/5.1/include
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks
(framework directory)
End of search list.
"/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
MBA-Anton:llvm_34_ios_armv7_build_noenv asmirnov$
2014-08-17 19:32 GMT+06:00 Ben Pope <benpope81 at gmail.com>:
> On Sunday, August 17, 2014 09:27 PM, Anton Smirnov wrote:
>
>> I'm going to use it on ios.
>>
>> Mac os x output:
>>
>> MBA-Anton:llvm_34_ios_armv7_build_noenv asmirnov$ clang++ helloworld.cpp
>> -v
>>
>> Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
>>
>> Target: x86_64-apple-darwin13.3.0
>>
>> Thread model: posix
>>
>> clang: error: no such file or directory: 'helloworld.cpp'
>>
>
> Apologies for not being particularly explicit in my description
>
>
> What's the output of:
>
> echo "int main() {}" > helloworld.cpp && clang++ helloworld.cpp -v
>
>
> Ben
>
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20140817/c13061a8/attachment.html>
More information about the cfe-dev
mailing list