Hmmmm, /MP? I see that it's for cl.exe, how does it work? If you specify only a single .c or .cpp file on the commandline, can it still effectively use multiple processes (I bet not)? I've been using multi-instance compiling with
SCons build scripts, and supposedly VS2005 supports it in the IDE (I never got it to kick in though, it always only shows 1> in the output log, never 2>). Interesting to see it in the compiler, though.
Interestingly I don't see an option for compiling to 64bit code on the compiler, I would have expected it there, neither for vs2008 express nor vs2005 full. I googled a bit, and came across
this, which says x64 tools aren't installed by default... so it would seem there are separate compiler binaries for 32- and 64-bit. I followed the instructions there to make an x64 build of fSekrit (which doesn't succeed atm
), and with Process Explorer I could see that indeed it uses a different compiler,
C:\vs\VC\bin\x86_amd64\cl.exe.
The VS2008 Express edition does
not seem to include a path like that, the entire install only has three files with "64" in the file name, and indeed no compiler. And iirc the installer didn't offer a custom option?
But on the download page, it says that you can create x64 native apps, HMMM!
Anyway, iirc you get the x64 compiler with the PlatformSDK, or perhaps it's the DDK, but I dunno if it's as fully featured as the compiler from VS Pro.
EDIT: seems like MS decided to rename "GWL_WNDPROC" to "GWLP_WNDPROC", but keep the GWL_ version
when you're compiling for 32-mode, but
drop it when compiling for x64. Fixed that, and fSekrit builds okay for x64. And heck, it even (seems to ;P) work, bloats exe size by 40k though.