Producing 64-bit builds on Windows with free software

Posted by pauldoo on Stack Overflow See other posts from Stack Overflow or by pauldoo
Published on 2009-02-07T14:28:16Z Indexed on 2010/05/16 20:20 UTC
Read the original article Hit count: 371

Hi, I have a C++ project that I've been developing in Microsoft Visual C++ 2008 Express Edition. It has come to the point that I'd like to port to 64-bit and continue development.

What is the best way to do this using free software?


My thoughts so far:

The Express Edition of MSVC doesn't come with 64-bit compilers, so I can install the Windows SDK to get these. I could then port my project files to nmake, and use the IDE just as a tool to debug and invoke my nmake scripts.. The downside to this is that nmake looks very poor. The example towards the end of this tutorial suggests that nmake cannot figure out source file dependences itself, and I don't know of anything equivelant to gcc -M that I could use.

Another option might be to use vcbuild from the Windows SDK to produce 64-bit builds from my existing vcproj files. Preliminary investigations show that this doesn't really work, as my project files don't have the 64-bit configurations present. (Perhaps I could fudge this by adding the 64-bit configurations to the vcproj files in a text editor.)

A final option might be to give up on MSVC, and port my project to the MinGW/MSYS toolchain.

© Stack Overflow or respective owner

Related posts about Windows

Related posts about 64bit