Multiple versions of VS

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Multiple versions of VS

Robinson, Paul via cfe-dev
Hello,
 
Is there any plan from the community to have clang support multiple versions of VS?
Thanks.
-Zahira
 

_______________________________________________
cfe-dev mailing list
[hidden email]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Multiple versions of VS

Robinson, Paul via cfe-dev
On Fri, Feb 24, 2017 at 7:28 AM, Ammarguellat, Zahira via cfe-commits
<[hidden email]> wrote:
> Is there any plan from the community to have clang support multiple versions
> of VS?

What kind of support to you mean?

Do you mean the Visual Studio integration, or Clang's ability to find
the standard library, linker, etc. of a VS installation?

 - Hans
_______________________________________________
cfe-dev mailing list
[hidden email]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Multiple versions of VS

Robinson, Paul via cfe-dev
On Mon, Feb 27, 2017 at 10:03 AM, Hans Wennborg <[hidden email]> wrote:
> On Fri, Feb 24, 2017 at 7:28 AM, Ammarguellat, Zahira via cfe-commits
> <[hidden email]> wrote:
>> Is there any plan from the community to have clang support multiple versions
>> of VS?
>
> What kind of support to you mean?
>
> Do you mean the Visual Studio integration, or Clang's ability to find
> the standard library, linker, etc. of a VS installation?

Oh, I see in http://bugs.llvm.org/show_bug.cgi?id=32059, you mean
support for compiling clang itself?

There are no plans to support compiling Clang with earlier versions of
VS, as it doesn't support all the C++ features that Clang uses.
_______________________________________________
cfe-dev mailing list
[hidden email]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Multiple versions of VS

Robinson, Paul via cfe-dev
Hans, Reid,

Sorry I was a bit unclear in my message. What I meant to say is when I generate a clang binary, can I compile with this binary, code, using older versions of VS?
Some features need use of runtime libraries (size operator delete, thread_local)?

Thanks.
-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Hans Wennborg
Sent: Monday, February 27, 2017 1:06 PM
To: Ammarguellat, Zahira <[hidden email]>
Cc: [hidden email]
Subject: Re: Multiple versions of VS

On Mon, Feb 27, 2017 at 10:03 AM, Hans Wennborg <[hidden email]> wrote:
> On Fri, Feb 24, 2017 at 7:28 AM, Ammarguellat, Zahira via cfe-commits
> <[hidden email]> wrote:
>> Is there any plan from the community to have clang support multiple
>> versions of VS?
>
> What kind of support to you mean?
>
> Do you mean the Visual Studio integration, or Clang's ability to find
> the standard library, linker, etc. of a VS installation?

Oh, I see in http://bugs.llvm.org/show_bug.cgi?id=32059, you mean support for compiling clang itself?

There are no plans to support compiling Clang with earlier versions of VS, as it doesn't support all the C++ features that Clang uses.
_______________________________________________
cfe-dev mailing list
[hidden email]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Multiple versions of VS

Robinson, Paul via cfe-dev
In reply to this post by Robinson, Paul via cfe-dev
Or in other words can I compile with clang (built with VS2015/VS2017 soon for instance) using VS2013/VS2015 headers?

-----Original Message-----
From: Ammarguellat, Zahira
Sent: Monday, February 27, 2017 2:11 PM
To: 'Hans Wennborg' <[hidden email]>; '[hidden email]' <[hidden email]>
Cc: [hidden email]
Subject: RE: Multiple versions of VS

Hans, Reid,

Sorry I was a bit unclear in my message. What I meant to say is when I generate a clang binary, can I compile with this binary, code, using older versions of VS?
Some features need use of runtime libraries (size operator delete, thread_local)?

Thanks.
-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Hans Wennborg
Sent: Monday, February 27, 2017 1:06 PM
To: Ammarguellat, Zahira <[hidden email]>
Cc: [hidden email]
Subject: Re: Multiple versions of VS

On Mon, Feb 27, 2017 at 10:03 AM, Hans Wennborg <[hidden email]> wrote:
> On Fri, Feb 24, 2017 at 7:28 AM, Ammarguellat, Zahira via cfe-commits
> <[hidden email]> wrote:
>> Is there any plan from the community to have clang support multiple
>> versions of VS?
>
> What kind of support to you mean?
>
> Do you mean the Visual Studio integration, or Clang's ability to find
> the standard library, linker, etc. of a VS installation?

Oh, I see in http://bugs.llvm.org/show_bug.cgi?id=32059, you mean support for compiling clang itself?

There are no plans to support compiling Clang with earlier versions of VS, as it doesn't support all the C++ features that Clang uses.
_______________________________________________
cfe-dev mailing list
[hidden email]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Multiple versions of VS

Robinson, Paul via cfe-dev
Yes, that should work.

On Mon, Feb 27, 2017 at 1:48 PM, Ammarguellat, Zahira
<[hidden email]> wrote:

> Or in other words can I compile with clang (built with VS2015/VS2017 soon for instance) using VS2013/VS2015 headers?
>
> -----Original Message-----
> From: Ammarguellat, Zahira
> Sent: Monday, February 27, 2017 2:11 PM
> To: 'Hans Wennborg' <[hidden email]>; '[hidden email]' <[hidden email]>
> Cc: [hidden email]
> Subject: RE: Multiple versions of VS
>
> Hans, Reid,
>
> Sorry I was a bit unclear in my message. What I meant to say is when I generate a clang binary, can I compile with this binary, code, using older versions of VS?
> Some features need use of runtime libraries (size operator delete, thread_local)?
>
> Thanks.
> -----Original Message-----
> From: [hidden email] [mailto:[hidden email]] On Behalf Of Hans Wennborg
> Sent: Monday, February 27, 2017 1:06 PM
> To: Ammarguellat, Zahira <[hidden email]>
> Cc: [hidden email]
> Subject: Re: Multiple versions of VS
>
> On Mon, Feb 27, 2017 at 10:03 AM, Hans Wennborg <[hidden email]> wrote:
>> On Fri, Feb 24, 2017 at 7:28 AM, Ammarguellat, Zahira via cfe-commits
>> <[hidden email]> wrote:
>>> Is there any plan from the community to have clang support multiple
>>> versions of VS?
>>
>> What kind of support to you mean?
>>
>> Do you mean the Visual Studio integration, or Clang's ability to find
>> the standard library, linker, etc. of a VS installation?
>
> Oh, I see in http://bugs.llvm.org/show_bug.cgi?id=32059, you mean support for compiling clang itself?
>
> There are no plans to support compiling Clang with earlier versions of VS, as it doesn't support all the C++ features that Clang uses.
_______________________________________________
cfe-dev mailing list
[hidden email]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Multiple versions of VS

Robinson, Paul via cfe-dev
In reply to this post by Robinson, Paul via cfe-dev
Yes, that should work. -fmsc-version controls which Visual Studio version clang-cl tries to be compatible with. -fmsc-version=1900 selects 2015, 1800 selects 2013, 1300 selects 2010, etc. clang-cl tries to pick a good default based on which version's vcvarsall you ran.

On Mon, Feb 27, 2017 at 4:48 PM, Ammarguellat, Zahira via cfe-dev <[hidden email]> wrote:
Or in other words can I compile with clang (built with VS2015/VS2017 soon for instance) using VS2013/VS2015 headers?

-----Original Message-----
From: Ammarguellat, Zahira
Sent: Monday, February 27, 2017 2:11 PM
To: 'Hans Wennborg' <[hidden email]>; '[hidden email]' <[hidden email]>
Cc: [hidden email]
Subject: RE: Multiple versions of VS

Hans, Reid,

Sorry I was a bit unclear in my message. What I meant to say is when I generate a clang binary, can I compile with this binary, code, using older versions of VS?
Some features need use of runtime libraries (size operator delete, thread_local)?

Thanks.
-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Hans Wennborg
Sent: Monday, February 27, 2017 1:06 PM
To: Ammarguellat, Zahira <[hidden email]>
Cc: [hidden email]
Subject: Re: Multiple versions of VS

On Mon, Feb 27, 2017 at 10:03 AM, Hans Wennborg <[hidden email]> wrote:
> On Fri, Feb 24, 2017 at 7:28 AM, Ammarguellat, Zahira via cfe-commits
> <[hidden email]> wrote:
>> Is there any plan from the community to have clang support multiple
>> versions of VS?
>
> What kind of support to you mean?
>
> Do you mean the Visual Studio integration, or Clang's ability to find
> the standard library, linker, etc. of a VS installation?

Oh, I see in http://bugs.llvm.org/show_bug.cgi?id=32059, you mean support for compiling clang itself?

There are no plans to support compiling Clang with earlier versions of VS, as it doesn't support all the C++ features that Clang uses.
_______________________________________________
cfe-dev mailing list
[hidden email]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev


_______________________________________________
cfe-dev mailing list
[hidden email]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
Loading...