mipscross-compilingcodesourcery

Getting Sourcery Codebench to run on Windows


I'm having trouble setting up a cross compiler (Sourcery Codebench) and simulator (OVP) on my machine. Could someone please show me how to do this?

I'd like to cross compile C to MIPS and then simulate it on my windows 7 x86-64bit machine. I don't have a lot of experience with this kind of thing and am having trouble even figuring out which versions to download

I have seen one or 2 other questions about getting sourcery to work on windows, but they didn't have the information I need.


Solution

  • I am not familiar with OVP, but I do know Sourcery CodeBench. Sourcery CodeBench is available for Windows and comes in an easy to use installer. The lite edition pages are here:

    http://www.mentor.com/embedded-software/sourcery-tools/sourcery-codebench/editions/lite-edition/

    There are links for MIPS ELF (Bare Metal) and GNU/Linux lite edition downloads. I'm not sure which one you need. The most recent toolchains are from the Spring 2012 release.

    Once you have installed the toolchain, you can compile your application and run it on real hardware or on a simulator.

    How far did you get? Did you install the toolchain and simulator? Can you compile and run the application on your target?