dansnyderECE 0 Junior Poster

I'm trying to compile an assembly file (.asm or .s) from a c++ file to be used in SPIM. SPIM requires that the file be in MIPS32ABI and for MIPS I ISA. My g++ compiler is not working well and I was wondering if there were any compilers out there meant just for SPIM? Or for just the R2k and R3K MIPS processors? Anything you can suggest will help.