[cfe-dev] Distinguishing between clang Window versions

Edward Diener eldlistmailingz at tropicsoft.com
Tue Jul 8 12:16:01 PDT 2014


On 7/8/2014 9:58 AM, Aaron Ballman wrote:
> On Tue, Jul 8, 2014 at 9:54 AM, Edward Diener
> <eldlistmailingz at tropicsoft.com> wrote:
>> Since the two versions for clang on Windows, one using VC++ RTL and
>> emulating VC++ to some small extent and the other using mingw rtl, are
>> radically different, is there any easy way to distinguish between them at
>> pre-execution time.
>
> E:\llvm\2013>clang --version
> clang version 3.5.0 (212451)
> Target: i686-pc-windows-msvc
> Thread model: posix
>
> Does the Target field should give you the information you need?

Ok, I see this. I would have to send this output to a file and then read 
it in and parse it, or send it through a pipe and read it back in via 
stdin and parse it. Thanks for the info.





More information about the cfe-dev mailing list