[cfe-dev] Getting clang header search path
Nikola Smiljanic
popizdeh at gmail.com
Thu Aug 14 21:16:51 PDT 2014
-v by itself just prints the version, I guess you need the frontend action
to get the include paths.
On Fri, Aug 15, 2014 at 2:10 PM, Edward Diener <
eldlistmailingz at tropicsoft.com> wrote:
> 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.
>>
>
>
> _______________________________________________
> 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/20140815/151157bb/attachment.html>
More information about the cfe-dev
mailing list