Compiling the Linux kernel for MIPS

I have a 32 bit MIPS machine and would like to run Linux on it. I need to cross compile Linux to MIPS using my Windows 7 machine. I am confused on how to go about this. Could someone tell me what the