<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
This has been broken on Linux [Debian Linux in my case], as in it
has never worked on Linux that I've tested, but it magically works
[for obvious reasons] on OS X.<br>
<br>
Debian has LLVM/Clang 3.4.2 with /usr/include/c++/v1/<br>
<br>
Building from trunk having /usr/local/include/c++/v1<br>
<br>
Both are broken.<br>
<br>
I don't even bother building trunk with the following turned on:<br>
<br>
//Use libc++ if available.<br>
LLVM_ENABLE_LIBCXX:BOOL=ON<br>
<br>
I default to the following:<br>
<br>
//Use libc++ if available.<br>
LLVM_ENABLE_LIBCXX:BOOL=OFF<br>
<br>
Otherwise, the damn stack won't compile. By off it just defaults to
GCC's libstc++ stack and compiles as expected. Everything else with
compiling a fresh libc++ builds when turned on in cmake, but this
part.<br>
<br>
- Marc<br>
<br>
<div class="moz-cite-prefix">On 08/04/2014 01:41 AM, Ben Pope wrote:<br>
</div>
<blockquote cite="mid:lrngv4$cpb$1@ger.gmane.org" type="cite">On
08/04/2014 03:41 AM, Dan Albert wrote:
<br>
<blockquote type="cite">Does the following work?
<br>
<br>
$ clang++ -nostdinc++ -I/usr/include/c++/v1/ -stdlib=c++
abi.cpp
<br>
</blockquote>
<br>
ben:~/development/test$ clang++-3.5 -std=c++11 -stdlib=libc++
abi.cpp -nostdinc -I/usr/include/c++/v1
<br>
In file included from abi.cpp:1:
<br>
/usr/include/c++/v1/cxxabi.h:18:10: fatal error: 'stddef.h' file
not found
<br>
#include <stddef.h>
<br>
<br>
So, yes, it finds the file at least.
<br>
<br>
Ben
<br>
<br>
_______________________________________________
<br>
cfe-dev mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a>
<br>
<a class="moz-txt-link-freetext" href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a>
<br>
</blockquote>
<br>
<div class="moz-signature">-- <br>
Marc J. Driftmeyer<br>
Email :: <a href="mailto:mjd@reanimality.com">mjd@reanimality.com</a><br>
Web :: <a href="http://www.reanimality.com">http://www.reanimality.com</a><br>
Cell :: (509) 435-5212
</div>
</body>
</html>