[cfe-dev] Getting clang header search path

Edward Diener eldlistmailingz at tropicsoft.com
Thu Aug 14 21:10:14 PDT 2014


On 8/14/2014 11:31 PM, Nikola Smiljanic wrote:
> -v does if you give it a file.

What is the purpose of the 'file' that you pass to it ?

>
>
> On Fri, Aug 15, 2014 at 1:15 PM, Edward Diener
> <eldlistmailingz at tropicsoft.com
> <mailto:eldlistmailingz at tropicsoft.com>> wrote:
>
>     On 8/14/2014 9:14 PM, Nikola Smiljanic wrote:
>
>         Nope, it's -v
>
>
>     I do not think so:
>
>         C:\Programming\VersionControl\__bninja_installed_clang\bin>__clang++
>         -v
>         clang version 3.6.0 (215674)
>         Target: i686-pc-windows-gnu
>         Thread model: posix
>
>         C:\Programming\VersionControl\__bninja_installed_clang\bin>__clang
>         -v
>         clang version 3.6.0 (215674)
>         Target: i686-pc-windows-gnu
>         Thread model: posix
>
>         C:\Programming\VersionControl\__bninja_installed_clang\bin>__clang++
>         -###
>         clang version 3.6.0 (215674)
>         Target: i686-pc-windows-gnu
>         Thread model: posix
>
>         C:\Programming\VersionControl\__bninja_installed_clang\bin>__clang
>         -###
>         clang version 3.6.0 (215674)
>         Target: i686-pc-windows-gnu
>         Thread model: posix
>
>
>     None of these return the header search path.
>
>
>
>         On Fri, Aug 15, 2014 at 11:12 AM, Nikola Smiljanic
>         <popizdeh at gmail.com
>         <mailto:popizdeh at gmail.com>
>         <mailto:popizdeh at gmail.com
>         <mailto:popizdeh at gmail.com>>> wrote:
>
>              -###
>
>
>              On Fri, Aug 15, 2014 at 9:16 AM, Edward Diener
>              <eldlistmailingz at tropicsoft.__com
>         <mailto:eldlistmailingz at tropicsoft.com>
>              <mailto:eldlistmailingz at __tropicsoft.com
>         <mailto:eldlistmailingz at tropicsoft.com>>>
>         wrote:
>
>                  What is the clang command that shows me the header
>         search path ?
>
>                  I built the latest clang on Windows targeted at gcc using
>                  mingw64/gcc4.9.1 32-bit, which is in the PATH. But when I
>                  execute clang it is not finding the C++ header files.





More information about the cfe-dev mailing list