Hmm... this page (which is for VC++ 2005 so it may not apply to 2008) says that you can enable x64 targets in Express by installing the .NET Framework SDK:
http://msdn2.microsoft.com/en-us/library/9yb4317s(VS.80).aspx
-mwb1100
I also read that page, and have read another which says you need to install Windows SDK. However, I have tried both methods and still had no luck producing a nativwe x64 app.
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.-f0dder
I don't use the command-line, but the /MP switch will spawn separate compiler processes for different source files (eg. if your project consists of source1.cpp and source2.cpp, then VS2008 can compile them simultaneously. However, if your project only consists of a single source file, then the /MP switch will not have any effect). I have a quad core, and the /MP switch results in five compiler processes being spawned (ie. number of cores + 1). You can also specify exactly how many processes should be spawned by using /MP[number of processes - 1].
VS2005 supported building multiple projects simultaneously, but not multiple source files within a single project.
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.[/b]-f0dder
I have successfully managed to compile a native x64 app with VC++ 2005 Standard (I did a full install of VS2005 + SP1 + Intellisense hotfix), although this doesn't work with all my apps. To do this, do the following:
1) Load the project
2) Go to Build...->Configuration Manager
3) Select "New..." from the Active Solution platform drop-down
4) If all is well, "x64" should be selected in the "Type or select the new platform" combo.
5) Compile with the target set to x64.
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.-f0dder
The compilers in the Express editions are supposed to be the same. The only difference being added tools like resource editor, unit test, more options can be specified through prefs dialog etc. I'm wondering whether the 64-bit compilers in Windows Server 2008 Platform SDK also support the /MP switch though.
Fixed that, and fSekrit builds okay for x64. And heck, it even (seems to ;P) work, bloats exe size by 40k though.-f0dder
People running an x64 OS aren't bothered by the slight bloat if it means they get to run a native x64 app ;) ;D