How to build Boost with VC++ 2013 to target XP/2003 platform?

Programs written in VC++ 2012 or 2013 will only run on Windows XP or Windows 2003 when you choose the 'Windows XP (v120_xp)' toolset option in the IDE. Is there some way to set this option from Bjam? P.S. A Stack Overflow user indicated that he got Boost to build under VC++ 2012. I tried his solution under VC++ 2013 but it did not work for some reason completely unknown to me. http://stackoverflow.com/questions/27695187/modify-visual-c-vcvars32-bat-to-... Apparently, VC++ 2012/2013 use the Windows 8 SDK and the solution above causes you to use the Windows 7 SDK which is compatible with XP and Windows 2003. Please help me

Programs written in VC++ 2012 or 2013 will only run on Windows XP or Windows 2003 when you choose the 'Windows XP (v120_xp)' toolset option in the IDE.
Is there some way to set this option from Bjam?
P.S. A Stack Overflow user indicated that he got Boost to build under VC++ 2012. I tried his solution under VC++ 2013 but it did not work for some reason completely unknown to me.
http://stackoverflow.com/questions/27695187/modify-visual-c-vcvars32-bat-to-...
Apparently, VC++ 2012/2013 use the Windows 8 SDK and the solution above causes you to use the Windows 7 SDK which is compatible with XP and Windows 2003.
See the end of http://blogs.msdn.com/b/vcblog/archive/2012/10/08/windows-xp-targeting-with-... HTH, John.

John,
Very helpful. Thank you.
On Wed, Dec 31, 2014 at 1:28 PM, John Maddock
Programs written in VC++ 2012 or 2013 will only run on Windows XP or
Windows 2003 when you choose the 'Windows XP (v120_xp)' toolset option in the IDE.
Is there some way to set this option from Bjam?
P.S. A Stack Overflow user indicated that he got Boost to build under VC++ 2012. I tried his solution under VC++ 2013 but it did not work for some reason completely unknown to me.
http://stackoverflow.com/questions/27695187/modify- visual-c-vcvars32-bat-to-target-xp-platform
Apparently, VC++ 2012/2013 use the Windows 8 SDK and the solution above causes you to use the Windows 7 SDK which is compatible with XP and Windows 2003.
See the end of http://blogs.msdn.com/b/vcblog/archive/2012/10/08/ windows-xp-targeting-with-c-in-visual-studio-2012.aspx
HTH, John. _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
participants (2)
-
Caroline Beltran
-
John Maddock