Compiling workloads
From gem5
Revision as of 17:07, 10 April 2011 by Gblack (talk | contribs) (moved Getting a Cross Compiler to Compiling workloads)
A cross compiler is a compiler set up to run on one ISA but generate binaries which run on another. You may need one if you intend to simulate a system which uses a particular ISA, Alpha for instance, but don't have access to actual Alpha hardware. There are various sources for cross compilers, listed here in roughly recommended order:
- Some architectures have professionally build cross-compilers available from Code Sourcery. These are updated frequently and a good starting point: ARM, MIPS
- You can build your own cross compiler using crosstools-ng: Download it from here and follow the instructions on that page.
- We have some available on our Download page.