I have read few pages about 32-bit and 64-bit application but I am still not clear if I can build a VC++ application which target on 64-bit machine with my VS2008 on my 32bit XP machine?
Those pages are : http://msdn.microsoft.com/en-us/library/x4d2c09s(v=VS.90).aspx
http://msdn.microsoft.com/en-us/library/9yb4317s(v=VS.90).aspx
They said by using 64-bit compiler, we can build an application to run on 64-bit machine. But I cannot find anywhere tells me if I can install that 64-bit compiler on my 32bit XP machine.
Yes, when you install the 64-bit compilers for C++ (custom install required) then you’ll get three compilers in the vc\bin directory:
The 2nd compiler is the default choice for a x64 project, it has no trouble running on a 32-bit install of XP. Do note however that you have no way to actually test or debug the generated program. Which makes it only practical in a build server scenario.