Create a 64-bit build on Windows with free software

I have a C ++ project that I was developing in Microsoft Visual C ++ 2008 Express Edition. This went so far that I would like to switch to 64-bit and continue development.

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


My thoughts so far are:

Express Edition MSVC does not come with 64-bit compilers, so I can install the Windows SDK to get them. I could then transfer the project files to nmakeand use the IDE as a tool to debug and invoke my nmake scripts . The disadvantage of this is that it nmakelooks very bad. The example at the end of this tutorial assumes that nmakeit cannot independently determine the dependencies of the source file, and I know nothing of equivalence on gcc -Mwhich I could use.

Another option would be to use vcbuildthe Windows SDK to create 64-bit collections from existing files vcproj. Preliminary studies show that this really does not work, since my project files do not have 64-bit configurations. (Perhaps I can do this by adding 64-bit configurations to the vcproj files in a text editor.)

The final option could be to abandon MSVC and transfer my project to the toolchain

+3
source share
2 answers

You can use makedepend as an alternative to gcc -M. Here is a primer for this and other dependency generation methods.

+ automake , MSVC. .

+2

Windows SDK GNU make , / script, cl.exe /showIncludes , .

0

Source: https://habr.com/ru/post/1702862/


All Articles