Here are the steps I followed to build Racket from a git checkout on a fresh Windows 7 installation.
Installed MASM32 to get a working assembler, since Microsoft thoughtfully omitted an assembler from their core compiler suite. (I am informed that later and/or non-Express editions of Visual Studio do actually include an assembler.)
Added the following directories to the system path:
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin, for
C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE, for
C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Tools, for
They do have to appear in that order, in particular with the MASM directory last, since it includes a
link.exethat will otherwise conflict with the Visual Studio linker.
cmd.exeshell. NOTE not a PowerShell instance. Somehow environment variables are propagated differently in PowerShell from in
cmd.exe! You want to only try to use
cmd.exeto build Racket with.
vsvars32.batin that shell. This step is important, as otherwise the start of the xform stage in the build will fail to find
Navigated to my Racket checkout within that shell, and from there to
Following these steps will in principle lead to a fresh
living in the root directory of your Racket checkout. There are many,
many things that could go wrong however. Good luck!