[cfe-dev] using clang with gcc 4.8 headers
I B
ibaltazar0 at yahoo.com
Thu Dec 6 13:04:14 PST 2012
I am trying to use clang (release 3.1) under Mac OS X 10.8.2
with gcc 4.8 toolchain.
I have compiled llvm/clang from scratch with --with-gcc-toolchain=<my gcc 4.8 path>
However, when I try to compile my source code, clang doesn't get headers
from the specified path <my gcc 4.8 path/include. Instead, it looks in default
directory and pulls in default gcc 4.2 headers.
What am I doing wrong and how to fix this?
Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20121206/a551698a/attachment.html>
More information about the cfe-dev
mailing list