<html>
<head>
<base href="http://llvm.org/bugs/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Driver assumes libc++ headers in /usr/include, libc++ installs them into current install location"
href="http://llvm.org/bugs/show_bug.cgi?id=15885">15885</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Driver assumes libc++ headers in /usr/include, libc++ installs them into current install location
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>Driver
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>jesullivan1965@hotmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvmbugs@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=10449" name="attach_10449" title="possible patch for ToolChains.cpp">attachment 10449</a> <a href="attachment.cgi?id=10449&action=edit" title="possible patch for ToolChains.cpp">[details]</a></span>
possible patch for ToolChains.cpp
There is currently a mismatch between where the driver expects to find the C++
headers if the -stdlib=libc++ flag is used( /usr/include/c++/v1) and where a
libc++ 'install' actually installs them (
${CMAKE_INSTALL_PREFIX}/include/c++/v1 ).
If the driver and the libraries are explicitly installed into different places
then the user can be expected to have to supply correct -I and -L flags (or
there should be a option to point to a common install area).
For a simple install to a single area though, Things Should Just Work.
I have attached a patch for ToolChains.cpp that looks in the installation
directory, rather than the fixed location, though a more sophisticated system
could no doubt be devised.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>