- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'd like to compile a program for 64 bit Windows XP, under Visual Studio 2013. I had previously done that (with IVF 2012) by specifying "Not set" for the linker subsystem and adding /SUBSYSTEM:WINDOWS,"5.01" to the linker command line. This still works with IVF 2015 (2015.1.148) when compiled for 32 bit target systems, but when compiled for 64 bit target systems, this linker warning appears:
LINK : warning LNK4010: invalid subsystem version number 5.01; default subsystem version assumed
So I deleted the command line statement and set the linker System SubSystem to one of the choices:
Windows for Windows XP (/SUBSYSTEM:WINDOWS,"5.1")
but I get exactly the same linker error as before, including the reference to version number 5.01 rather than 5.1.
Is it possible to compile for 64 bit Windows XP using IVF 2015 under Visual Studio 2013? If so, how?
I'm running the compiler on a 64 bit Windows 7 system.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Use 5.02 for XP64.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I think the OP's point is that if you set Linker->SubSystem to "Console for Windows XP (/SUBSYSTEM:CONSOLE,"5.1")" then this results in LNK4010 when you do an x64 build because the subsystem should be 5.02 for the 64-bit version of XP.
My workaround for this is to set Linker->SubSystem to "Not Set" and add
/SUBSYSTEM:CONSOLE,"5.02"
to the Additional Options on Linker->Command Line
(BTW, I'm using the XE 2015 IDE integration in VS 2012 Professional Update 4)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That's what I was trying to get at. You have to use the command line option for this. I will ask that the subsystem property use 5.02 for XP64.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks very much!
Roy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Escalated as issue DPD200363676. Curiously, the linker considers 5.1 and 5.01 to mean the same thing, similarly 5.2 and 5.02.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This will be fixed in the 16.0 compiler product (Parallel Studio XE 2016).

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page