I know this is an old post, but I was having trouble with this until I figured it out 2 minutes ago.
Go here and install Mingw : (mingw-get-inst-20110316.exe)
http://sourceforge.net/projects/mingw/files/
After you're done with that, YOU NEED to install gcc core. Here's the info:
http://www.mingw.org/wiki/InstallationHOWTOforMinGW
Here's the link to gcc-core:
http://sourceforge.net/projects/mingw/files/MinGW/BaseSystem/GCC/Version4/gcc-4.5.2-1/gcc-core-4.5.2-1-mingw32-bin.tar.lzma/
Download and install 7zip:
http://www.7-zip.org/
Place "gcc-core-4.5.2-1-mingw32-bin.tar.lzma" in your MinGW directory:
C:\MinGW\
Right click on "gcc-core-4.5.2-1-mingw32-bin.tar.lzma" and extract it using 7-zip.
Then, Right click on "gcc-core-4.5.2-1-mingw32-bin.tar" and extract it, and copy over your files if your prompted to do so.
Make sure you downloaded "bios_memimage-1.2.tar.gz" from http://citp.princeton.edu/memory/code/ and extracted it using 7-zip.
Finally, open Mingw Shell.
cd C:\bios_memimage-1.2.tar.gz\
make -f Makefile.mingw
If you don't get any errors, you're done!
Sorry for this dumbed down tutorial, just want to make sure everybody understands.
Here's my COMPILED version:
http://www.2shared.com/file/yTscnBoZ/memimage.html
It contains the same files as Bios_memimage from Princeton, but also includes the compiled files (scraper.bin) Just head on over to the /usb folder and you'll see it. I recommend you try compiling it yourself though. It's a good learning experience.